[plt-scheme] (fast) reading of data files into a hash-table - how?

From: Yoav Goldberg (yoav.goldberg at gmail.com)
Date: Sat Dec 31 12:03:27 EST 2005

Hi,
I need to load a large amount of precomputed data.
It is bassically a list of key:value pairs, where each key is a list
of symbols and each value is a number. I have about 14000 such keys.

I tried to just read the data line by line and put it into a
hash-table, but it turns out creating a hash-table with 'equal, and
then filling it with 14000 values takes way to much processing time.
Is there any way to speed things up?


Thanks,
Yoav


Posted on the users mailing list.