Created
December 16, 2010 13:33
-
-
Save munen/743398 to your computer and use it in GitHub Desktop.
My 'nop' battle entry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(comment | |
"We were doing a 'nop' battle in IRC today. First it was manual typing of 'nop's, | |
but quickly we got certain scripts running. | |
Learning clojure, I thought I could come over the top easily. And I did. I | |
defined a lazy cycling sequence containing 'nop', then I tried to get the last | |
entry of that list. | |
Unfortunately this didn't just burn my CPU (as I expected), but it also allocated | |
so much memory in seconds, that my X got shutdown by kernel. | |
Wheter this approach is a win or an epic fail, I will leave to you.") | |
(def nop-seq (cycle '("nop"))) | |
(last nop-seq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment