Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

This is a performance win on many browsers.

http://jsperf.com/direct-vs-chain/8

5 Answers

0 votes
by

Comment made by: michalmarczyk

See CLJS-247 for comments relevant to this patch.

0 votes
by

Comment made by: dnolen

Not seeing much of a perf benefit from this, though Michal reports differently. More investigation is needed.

0 votes
by

Comment made by: dnolen

patch no longer applies. I wonder if I see bad behavior because I was testing with node or it was prior to the fixes around avoiding deoptimization.

0 votes
by

Comment made by: michalmarczyk

I'll bring it up to date with the recent changes, thanks for the prod!

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-246 (reported by dnolen)
...