Replies: 1 comment
-
|
The ultimate solution here is "stride aware" which allows both cache locality and zero copy semantics for operations like transpose and submatricies. inlining should deal with the performance problems. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As of June 2026, it seems t me, that it is not possible, to have a generic and performant implementation. Some reading;
scala/scala3#15532
scala/scala3#18044
scala/scala3#12161
In particular, the
@specialisedannotation does not appear to be effecitve. It appears to still emit Generic parameters into the emitted bytecode.It also seems to hate the current opaque class implementation for performance reasons.
In fact, there seems to be no compelling reason to not simply have "class" DoubleMatrix.
Beta Was this translation helpful? Give feedback.
All reactions