M
MakaMaka
Hi,
I need to define a hash table of some kind that uses a three long
integer keys and returns a long. I'm trying to speed up a
computational python script. What i need to replace looks something
like this:
blah = {}
blah[(1,2,3}] = 4
so blah[(1,2,3)] would return 4.
This has obviously been done (it's in the python interpeter). Does
anyone know how to implement this using the hash_map template of SGI's
stl implementation or something similar?
Thanks,
-Justin
I need to define a hash table of some kind that uses a three long
integer keys and returns a long. I'm trying to speed up a
computational python script. What i need to replace looks something
like this:
blah = {}
blah[(1,2,3}] = 4
so blah[(1,2,3)] would return 4.
This has obviously been done (it's in the python interpeter). Does
anyone know how to implement this using the hash_map template of SGI's
stl implementation or something similar?
Thanks,
-Justin