News for hackers. Stuff that matters.
Re:PHP functions originally bucketed by strlen, were renamed... by MichaelGG on Tuesday December 17, 2013 @02:50AM (#6920037)
Can you explain how, in any possible universe, using strlen as a hash function and choosing function named to bin on length in any way helps PHP, at all?
Re:PHP functions originally bucketed by strlen, were renamed... by GhotiFish on Tuesday December 17, 2013 @05:20PM (#6924401)
well I can think of a reason you might do that. It's dead simple, and you can easily predict the distribution, so you can choose names that have a relatively good distribution. Sure your first few buckets go empty, but at that point, you're overthinking it, NEXT SECTION!