Why such implementation of partial in clojure.core

Yes, it’s a performance optimization.

I’ts not just about not calling concat – it’s about the fact that & in the argument list requires a collection to be created as well. The clojure core libraries tend to take performance seriously, under the assumption that the basic building blocks of the language will be present in everyone’s performance bottleneck.

Leave a Comment