Reinhold Birkenfeld wrote: > Original: 2,579 sec > sub method aliased to variable: 2,542 sec > everything stuffed in function: 2,422 sec > > Without regex substitution: 0,523 sec > (but _with_ re.compile calls, > so this can't be the problem) Ah, thought you said something about compile() being the timesink, but I guess I misunderstood... Erik