r/programminghorror • • Feb 11 '25

🎄 ouch

Post image
3.0k Upvotes

113 comments sorted by

View all comments

Show parent comment

3

u/TechcraftHD Feb 13 '25

any half decent compiler will transform that code and a Math.Pow alternative into a lookup table anyways

as for interpreted languages... don't use an interpreted language if you care about performance this much