You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm working on a project where I use ArrayBuffers in performance-critical sections. In some places I was able to replace them with Arrays, so they got while-optimized by the scalacl-compiler-plugin. But in other cases it would make the code way more unreadable or easier to replace them with while-loops myself.
So I'd like to see support for optimization of IndexedSeq in the scalacl-compiler-plugin.
I'm not sure how safe it would be to optimize IndexedSeqs in general, but ArrayBuffer seems like a good candidate indeed ! (and it probably wouldn't cost much to add an unsafe IndexedSeq optimization switch, disabled by default).
From @fdietze on March 12, 2012 14:20
Hi there,
i'm working on a project where I use ArrayBuffers in performance-critical sections. In some places I was able to replace them with Arrays, so they got while-optimized by the scalacl-compiler-plugin. But in other cases it would make the code way more unreadable or easier to replace them with while-loops myself.
So I'd like to see support for optimization of IndexedSeq in the scalacl-compiler-plugin.
Thank you!
Felix
Copied from original issue: nativelibs4java/nativelibs4java#286
The text was updated successfully, but these errors were encountered: