Comment Comment by kodablah If you're getting to this level of optimization, you could just consider going native. Making a shared lib in Rust that uses JNI and does everything you could do in Java is really really easy. parent kodablah 8 years ago