Completed
Details
Details
Assignee
Unassigned
UnassignedReporter
Leon Grapenthin
Leon GrapenthinLabels
Approval
Ok
Patch
Code
Priority

Affects versions
Fix versions
Created April 3, 2015 at 8:53 PM
Updated April 10, 2015 at 4:58 PM
Resolved April 10, 2015 at 4:58 PM
Times after a few runs ~335 ms.
Times after a few runs ~5 ms.
Cause: The variadic case for vector-of is missing a type hint and uses reflection - this will be seen in any call to vector-of with more than 4 elements.
Approach: Switch interop call to instead use conj - there is no reason to be using interop here over standard conj on a vector. The after time for the first case above is 6-9 ms depending on GC (the fast reduce path in repeat reduces gc variability I think).
Patch: clj-1695-2.patch