Matthew Bromberg, 06.01.2010 21:50: > How does tuple or list compare speed wise with dict?
Like apples and oranges, basically. > Ultimately I have to hash into my list using size information. Any specific reason why you /can't/ use a dict? > This also still does not address my confusion with regards to how to > capture a python object before it get's destroyed. As long as there is a reference to it (e.g. in the hash table), it won't get deallocated. So: use a Python list for your hash table, stop caring about ref-counts and it will just work. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
