Christopher T King wrote: > Try using a set instead of a dictionary. You should get the good access > time of dictionaries with nearly the low memory usage of a list: sets.Set() holds its data in a dict. I fear the same goes for 2.4's builtin set type which is coded in C but also built on top of dict. Peter