in reply to Looking for suggestions for writing a module to look up translations in a 9 MB XML dictionary

It seems to me that 9MB is really not very much.

Couldn't you simply keep it in memory as a hash, and do the lookups instantly? Startup time is covered by the time it takes you to pick up the book and flip to wherever you last stopped reading.

  • Comment on Re: Looking for suggestions for writing a module to look up translations in a 9 MB XML dictionary