Wednesday, April 25
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.
Comments are disabled.
Post is locked.
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.
44kb generated in CPU 0.0126, elapsed 0.1214 seconds.
54 queries taking 0.1142 seconds, 347 records returned.
Powered by Minx 1.1.6c-pink.
54 queries taking 0.1142 seconds, 347 records returned.
Powered by Minx 1.1.6c-pink.