Question:
I\'ve profiled my Python program to death, and there is one function that is slowing everything down. It uses Python dictionaries heavily, so
Have you considered Pyrex / Cython?
It compiles python to C and then to .pyd automatically, so it might speed things up a fair bit without much work.