this post was submitted on 20 Oct 2023
1245 points (97.7% liked)

Programmer Humor

37339 readers
474 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] xmunk@sh.itjust.works 19 points 2 years ago (1 children)

Personally I assemble my clothes in a B+ tree on my desk. I've found that the hash lookup algorithm I was using had too many collisions.

[–] Karyoplasma@discuss.tchncs.de 2 points 2 years ago (1 children)

What was you hash function? return 1?

[–] xmunk@sh.itjust.works 4 points 2 years ago (1 children)
[–] Karyoplasma@discuss.tchncs.de 2 points 2 years ago

shirt.isShortSleeved()

That would actually be sufficient for my use case, not gonna lie.