This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
SIMD is not enabled? #2660
Comments
Bound checking elimination #1791 |
Extracting Also please note: https://github.com/JetBrains/kotlin-native/blob/master/RELEASE_NOTES.md#performance |
If goal is to write faster code, it makes sense to do it in the way suitable for the platform. In your case program with following modifications
And with following .def file
prints on my machine
|
Same code on JVM produces
which makes Native about 3 times faster on that task. |
Cool! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Kotlin Native : ~ 80 s
Kotlin JVM : ~ 1.3 s
Windows 10 64 位
Intel Core i5-6500 @3.2GHz 4 Core
16GB RAM
Kotlin native 1.3.21
Why is the
getByteTrueCount2
method so slow?The text was updated successfully, but these errors were encountered: