http://www.perlmonks.org?node_id=1074691


in reply to Re^2: Comparing large files
in thread Comparing large files

I don't really see what you are trying to do but if you mention PostgreSQL: perhaps the hstore data type can help? It's a hash-like data type that is indexable (for read-mostly data use the GIN index).

Of course, perl hashes will be much faster if memory serves ;-)