I'm continuing development of my program using IxSet
and I'm curious if I'm doing something wrong (or it can be optimized). Currently it consumes way too much memory than I believe it should.
Program is here: https://bitbucket.org/k_bx/duplicates Profiling result is here: https://gist.github.com/4602235
p.s.: please, someone add "ixset" tag, since I can't create one.
UPDATE:
Memory profiling with -h: http://img-fotki.yandex.ru/get/6442/72443267.2/0_9d04d_4be1cd9f_orig
UPDATE 2:
Neat memory profiling view for same -h file: http://heap.ezyang.com/view/c1781ec5e53b00d30a9f8cd02f0b8a5e777674c9#form