9992 9993 9994 9995 9996 9997
9998 1)
Then you get the same error :(
Are we really OK with having a 30 year old (Common Lisp/Lisp Machine)
that operates at megahertz speeds do better than (clojure/JVM) here?
--Robert McIntyre
On Sun, Nov 14, 2010 at 3:36 AM, Mike Meyer m...@mired.org
generated
code, you would instead have to do something like a tree of function
calls, so It may be worth increasing the limit for for the sake of
enabling machine generated code.
What are you peoples' thoughts on this?
--Robert McIntyre
On Sun, Nov 14, 2010 at 12:54 PM, Mike Meyer
mwm-keyword
So, just to be clear,
user (def nil-seq (doall (interleave (repeat 1e5 nil) (repeat 1e5
whatever))) )
#'user/nil-seq
user (time (doall (keep identity nil-seq)))
Elapsed time: 122.485848 msecs
user (time (doall (remove nil? nil-seq)))
Elapsed time: 149.71484 msecs
--Robert McIntyre
On Wed
cool! Although I think with-seperator should be spelled with-separator
--Robert McIntyre
On Thu, Nov 25, 2010 at 9:13 AM, Sunil S Nandihalli
sunil.nandiha...@gmail.com wrote:
I just tried to re-write with-seperator without using the symbol-macros from
macro-utils and it seems to work fine
.)
result (atom sentinel)
reset-fn (fn [] (reset! result sentinel) nil)
has-run? #(not= @result sentinel)]
[has-run?
reset-fn
(fn [ args]
(locking sentinel
(if (= @result sentinel)
(reset! result (function))
@result)))]))
--Robert
101 - 105 of 105 matches
Mail list logo