-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Lawrence,

This is just a theory, but in the interests of response time, the JVM
uses a large number of heuristics to determine what optimizations will
likely prove profitable. One of them is a budget for method size. I
would guess that lifting this code out into a separate fn made the JVM
see that it was optimizing a hot path between the main body and
several small but tightly related methods thus giving itself more
leeway to inline and optimize in ways that it would otherwise presume
are more expensive and not pursue.

Reid

-- 
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/d/optout.

Reply via email to