How certain are you that mIRC variables aren't implemented as hash tables in the first place? They obviously need to be written to file at times, but that could easily be seldom enough not to be much of a problem.