|
From: Erick T. <ida...@us...> - 2007-05-15 21:17:56
|
Yuri Takhteyev wrote:
> Yes, but how much performance do you gain compared to doing a
> "\n".join, storing the string, doing whatever you want to it, then
> returning s.split("\n")?
>
> I mean it as a serious empirical question. If it makes a substantial
> difference, it would be worth making the API a bit more complicated.
> If it gains something like 1% in performance, I am not so it makes
> sense to introduce a new type of post processor.
You're right, I don't see any performance benefits. I do find it
semantically easier to work directly with regexes, but I guess I can do
that in my extensions.
|