in reply to Re^3: case-insensitive hash keys
in thread case-insensitive hash keys

About 60 functions. So its a good chunk of work, but probably worth it for the maintainability. What's the efficiency/speed of using tied hashes vs. regular hashes? (this is for a high-volume web application.) thanks MFN

Replies are listed 'Best First'.
Re^5: case-insensitive hash keys
by BrowserUk (Patriarch) on Aug 22, 2004 at 04:04 UTC

    Tied hashes are somewhat slower than regular ones, but if your filling the hashes from a RDBMS then the time taken to get the data will far outweight the speed of access once you have got it.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon