duplexsystem ( duplexsystem@lemmy.blahaj.zone ) to Programming@programming.dev · 3 days agoThe Fastest (long) ilog10 in the West · duplexsystemduplexsystem.orgexternal-linkmessage-square10linkfedilinkarrow-up134cross-posted to: programmingc_lang@programming.dev
arrow-up134external-linkThe Fastest (long) ilog10 in the West · duplexsystemduplexsystem.orgduplexsystem ( duplexsystem@lemmy.blahaj.zone ) to Programming@programming.dev · 3 days agomessage-square10linkfedilinkcross-posted to: programmingc_lang@programming.dev
minus-squareduplexsystem ( duplexsystem@lemmy.blahaj.zone ) OPlinkfedilinkarrow-up2·2 days agoHow interesting! What language are you using? I’ve ported a couple of these ilog10 methods to different languages so perhaps I could be of some help! Thank you though! It was a long process to get it this fast and lean!
minus-squareadhocfungus ( adhocfungus@midwest.social ) linkfedilinkarrow-up2·2 days agoJava. I could certainly use a lot of what you wrote, but I don’t know nearly enough about the JVM to take it as far as you did.
minus-squareduplexsystem ( duplexsystem@lemmy.blahaj.zone ) OPlinkfedilinkarrow-up2·2 days agoI actually have ported the pre Lemire version to Java! https://github.com/PolyhedralDev/Seismic/blob/master/src/main/java/com/dfsek/seismic/math/integer/IntegerFunctions.java This should work for you, and I can probably port my most recent version to Java as well.
How interesting! What language are you using? I’ve ported a couple of these ilog10 methods to different languages so perhaps I could be of some help! Thank you though! It was a long process to get it this fast and lean!
Java. I could certainly use a lot of what you wrote, but I don’t know nearly enough about the JVM to take it as far as you did.
I actually have ported the pre Lemire version to Java!
https://github.com/PolyhedralDev/Seismic/blob/master/src/main/java/com/dfsek/seismic/math/integer/IntegerFunctions.java
This should work for you, and I can probably port my most recent version to Java as well.