r/programbattles • u/Parzival_Watts • Oct 08 '15
Any language [Any Language] Tweetable Code
Open ended challenge!
Write some code in any language that does something interesting. The only restriction is that it must fit inside a tweet (140 characters or less)
26
Upvotes
View all comments
Show parent comment
1
u/[deleted] Oct 11 '15
Also, if I was trying to optimize sqrt, for integers under a reasonable size, it's probably just looking up the value in a table. Which is like, the thing your computer is nearly best at. Whereas, your processor is already pretty good at multiplication, so why bother optimizing it from software at all.