[CLJ-1288] aset-* and aget: on multi-dimensional arrays (e.g. double) these fn reflect (and, thus, perf. poorly) even with type hints. Created: 01/Nov/13 Updated: 01/Nov/13 Resolved: 01/Nov/13
|Affects Version/s:||Release 1.5|
|Reporter:||Michael O. Church||Assignee:||Unassigned|
Here's a transcript of the behavior. I don't know for sure that reflection is being done, but the performance penalty (about 1300x) suggests it.
user=> (use 'criterium.core)
A (n ugly) workaround is to use multiple agets.
user=> (quick-bench (aget ^"[D" (aget ^"[[D" b 304) 175))
|Comment by Alex Miller [ 01/Nov/13 1:09 PM ]|
Dupe of CLJ-1289.