On Friday, December 2, 2011 8:44:07 AM UTC+1, Tassilo Horn wrote
>
> JVM does some sort of pooling. It seems there's exactly one Long for
> any long value in the range [-128...127], but you shouldn't rely on
> that.
>
And I always thought it was 1024, but
user=> (identical? 127 127)
true
user=> (identical? 128 128)
false
user=> *clojure-version*
{:major 1, :minor 2, :incremental 1, :qualifier ""}
:-)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en