> (I'd never think of strings as primitives...certainly, they're not, at least > not in the way numbers can be).
Unfortunately, they have to be in order to perform even reasonably well given the ubiquity of string keys in JavaScript. For JS, strings serve as strings, symbols, keywords, and byte arrays all rolled in to one. Since they are immutable, runtimes can intern strings at parse time and treat a limited tagged pointer range as unboxed string values. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
