Am 17.12.2015 02:35 schrieb "Mikera" <mike.r.anderson...@gmail.com>:

> What's the plan with Tuples more broadly?

Speaking as a kibitzer to the process: Suppose somebody was to carry this
along, I'd like to see these points addressed:

IIRC, the breaking factor to the proposal were slow-downs in real-world
programs, likely due to pollution of jvm's polymorphic inline caches. It
seems necessary to have a benchmark, exercising the data-structure part of
clojure.core with real-world degrees of polymorphism, replicating the
slow-downs, Rich saw for the proposal. When we have such a realistic basis,
to which we can amend expected best- and worst-cases, it's much easier to
have a conversion about expected benefits and draw-backs, performance wise.

The second thing, bothering me about the proposal: To me (as a
non-authority on the matter), checking in generated files is borderline
unacceptable. I'd much rather see such classes generated as part of the
build process, e.g. by:
- using ant or maven plugins to generate java source, or,
- using macros to generate byte code as part of AOT compilation

====

So, while the second point certainly would make a proposal more appealing,
the first one is mandatory due diligence. I'm really glad, that cognitect
acted as a gate-keeper there and saved us from microbenchmark-hell.

I'd really love to write some more, about my ideas and alternatives to
generating tuple arities 1-8, but I also think we ought to have that
benchmark before discussing this point any further.

kind regards

-- 
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