News for hackers. Stuff that matters.
Re:What I learned from my first C coding challenge by bradleyjg on Tuesday September 04, 2012 @04:50PM (#4476467)
They want to use a normalized URL as the hashkey to cache system.

Depending on exactly what type of hashing they are doing, the normalization could be a significant fraction of the lookup time.

If you are going to get all micro-optimized, you should probably combine the normalization and hash steps, as there is likely some string parsing / building that could be eliminated.

Also: it's a pretty fun exercise.

There are no comments on this comment yet.