> 
> For #2, we can't intern the keywords like Clojure does on the JVM because 
> JavaScript does not provide weak references. If we interned dynamically 
> created keywords, then we'd have an exploitable memory leak.


This may actually be a non-issue for Browser Environments since you would not 
exploit your users and your users would only be able to exploit their own 
browsers unless you somehow allow them to send arbitrary data to each other 
(which you should never do anyways).

So interning might still be an option for browser targetted JS, even without 
weak references (IMHO).

Just my 2 cents,
/thomas

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to