I don't think a hash-table would help in this case because it is not searching that is taking the time. It is the loading, saving, loading of each texture during the init that is taking all of the time.