Wednesday, April 25

Geek

Ill-Advised Optimisations

Yes, it's 6% faster.

On the other hand, it doesn't work.

Thought I had a nice speed improvement for my BBCode parser, moving some static code up to the module level. However, the static code was creating a dictionary, which was now shared between parser instances, which caused odd side effects.

Optimisation removed.

Posted by: Pixy Misa at 02:36 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 55 words, total size 1 kb.

Comments are disabled. Post is locked.
44kb generated in CPU 0.0139, elapsed 0.1622 seconds.
54 queries taking 0.1545 seconds, 325 records returned.
Powered by Minx 1.1.6c-pink.