1173
A Guessing Game (lemmy.zip)
you are viewing a single comment's thread
view the rest of the comments
[-] FooBarrington@lemmy.world 17 points 2 months ago

It's not. PHP used to use the function length as hash buckets, so by having evenly distributed lengths the execution time was faster. No idea where GP came up with that.

[-] racemaniac@lemmy.dbzer0.com 1 points 2 months ago

GP specifically talked about the first version of PHP, sounds like it was just a dummy implementation as they were working on PHP, that then later got replaced with a proper implementation :)

this post was submitted on 26 Aug 2024
1173 points (100.0% liked)

Programmer Humor

19589 readers
381 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS