It does seem like you need to use native js data structures if you want speed. Makes sense, and it's not a big deal beyond the psychic injuries caused by going mutable. I've had to switch from vectors/maps to arrays/objects a few times due to performance.
- Jason On Tuesday, April 10, 2012 3:41:49 PM UTC-7, David Nolen wrote: > > On Tue, Apr 10, 2012 at 6:23 PM, Jason Hickner <jhick...@gmail.com> wrote: > >> Very cool! I'm seeing a size reduction in some code of mine that made >> extensive use of core.match. Maybe from the removal of a lot of CLJS truth >> tests? >> >> Do you have the source available to your CLJS spectral norm code? I'd >> like to see what special techniques (if any) are needed to get hand-coded >> js speeds. >> >> - Jason >> http://www.varywell.com/ >> > > Nothing special, just write fast code like you would write fast code in JS: > > https://gist.github.com/2355182 > > David > -- 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