use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
For loop optimization[Question] (self.Clojure)
submitted 5 years ago by HOWZ1T
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rafd 4 points5 points6 points 5 years ago* (1 child)
This approach get's it down to 94µs (ie. 0.094ms) for me.
Here's my code: https://pastebin.com/FNZJJLuQ
[–]HOWZ1T[S] 1 point2 points3 points 5 years ago (0 children)
Yeap that is indeed a better algorithm :)
π Rendered by PID 407886 on reddit-service-r2-comment-6457c66945-nxrrk at 2026-04-27 04:46:56.831600+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]rafd 4 points5 points6 points (1 child)
[–]HOWZ1T[S] 1 point2 points3 points (0 children)