I'd like to ask something, is there an (open source) project that really got a 
speed boost from the move to primitive +,- & Co. and is testable / 
benchmarkable fairly easy? I sadly don't have any of those :( to do it all on 
my own.

I'm not asking to mock, what I'd like to do (for myself) is look how the impact 
actually (in the real world) is and how much the effort would be to do it by 
hand. On the matter of speed I've just seen abstract claims by now so I'd love 
to test it myself. 

I think a real test might help a lot to settle this matter (in one or the other 
direction) :)

What I plan to do is:

1) run code in equal branch and take time).

2) replace all +,-,*,/ ... with the ' equivalents to 'slow it down'

3) run code again and take another timing.

4) See how long it takes me (without in depth knowledge of the code so I've an 
disadvantage here) to figure out where the sweet spots are that need the non ' 
variant to get back speed that is close to the run with all primitives.

Why? Because I argue for the + be boxing and say 'it should be fairly simple to 
identify the sweet spots' and I want to see if I am right or wrong or rather 
how simple it is and I think this will be a very interesting case study for our 
current discussion.

What I don't need are projects/problems that are especially designed for this 
discussions (either the one or the other way) since that would be defeating the 
point.

Regards,
Heinz

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

Reply via email to