On Sat, Feb 12, 2011 at 4:54 PM, Aaron Cohen <aa...@assonance.org> wrote:
> On Sat, Feb 12, 2011 at 4:42 PM, Ken Wesson <kwess...@gmail.com> wrote:
>> On Sat, Feb 12, 2011 at 8:28 AM, timc <timgcl...@gmail.com> wrote:
>>> (def b (byte i))
>>>
>>> is doing something equivalent to this internally:
>>>
>>> byte b = Byte.parseByte(String.format("%d",i));
>>
>> What the HELL?
>>
>> That's incredibly icky and inefficient. :)
>>
>
> Don't worry, it's not actually doing that:
> https://github.com/clojure/clojure/blob/f128af9d36dfcb268b6e9ea63676cf254c0f1c40/src/jvm/clojure/lang/RT.java#L902

Oh, good. That's basically what I said it should do.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to