On Mon, 2009-01-26 at 19:41 +0200, Serkan Kaba wrote:
> The yield depends on whether File.exists() runs quicker than
> URLDecoder.decode() or not.
Indeed.
And none of us can say unless they do some profiling.
> Even if that saves a bit of time, I don't
> think it's worth to complicate the code that runs only once on
> initialization.
True; and I certainly normally willing to pay a premium on code clarity
& subsequent project maintainability.
This, however, is on the critical path of code that the user has to wait
to complete before their application starts. So it certainly is the sort
of thing that I'd like to keep an eye on. But without hard data I'm not
going to screw you around.
We can merge it as is now.
AfC
Sydney
|