Archives June 24, 2004
Should check all these scripts into local CVS (Noticable amount of effort could be lost)
Written by
on
in
Snaking.
Being a python programmer, I tend to write Python scripts to solve little problems that arise, for instance:
- Download my Sourceforge projects' CVS repositories into a directory for backup every week
- process CVS logfiles to help with generating changelogs
- add my python-coding sub-vocabulary to Dragon Naturally Speaking
- backup mozilla profile and secondary mail directories as ... !-->!-->!-->
Premature optimisation kills (Well, introduces errors...)
Written by
on
in
Snaking.
I think I've just discovered an anti-pattern in my code. Unfortunately, it's a really common idiom in the code base. Basically, I've been using dictionaries initialised with all records in a tracking table to make looking up a particular record very fast.
If you're going to be looking up individual records many times, and are ...!-->!-->