this post was submitted on 15 Feb 2025
9 points (100.0% liked)

Programming Circlejerk

131 readers
1 users here now

Community to talk about enlightened programming takes

Rules:

founded 2 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] FizzyOrange 2 points 1 month ago

I would be disappointed by a compiler that turns an integer switch into a linear search

I would be very surprised if they do use binary search. Anyone want to check?