Sooner or later you’ll need to use a cryptographic hash function. Sometimes it’s to quickly check if two large byte arrays are the same, sometimes it’s for interoperability with some server, and other times it’s to obfuscate a string. In any case, performance of the various hash algorithms varies wildly. Today’s article performance tests all 27 hash algorithm permutations to see which is fastest and which is slowest. Read on for the performance test results!
Posts Tagged hash
Sometimes you need to map a key to many values, but AS3 has no built-in data structure for this purpose.
Object are suitable one-to-one maps, but there’s been no one-to-many support until now. Read on for my own one-to-many class—
MultiMap—as well as performance testing and analysis.