4 ms·
Is there a downside to this? Or is it just a plain better algorithm? If so, why has it not been implemented in the Java standard libs?
by surfsvammel 6y ago
Is there a downside to this? Or is it just a plain better algorithm? If so, why has it not been implemented in the Java standard libs?
- layer8 6y agoThe bottleneck is usually I/O, or parsing into large object structures, not double parsing.
- anthony88 6y agoIt will load 2 big arrays in memory (per classloader). Code is super complex so maintenance would be very hard. I guess it makes sense to use it as a library (MIT license) if your code parses a log of doubles.
- j16sdiz 6y agoYes but if you were to modify java runtime, it can just call the native C version