in reply to Keeping hash table in memory

Write your program to run under mod_perl and then access it by sending it HTTP requests from a command-line client. It will stay in memory and totally eliminate startup time.