You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by PJ Fanning <fa...@yahoo.com.INVALID> on 2022/04/29 12:02:39 UTC
number parsing and writing
Hi everyone,
I've been doing some analysis of alternatives to using the JDK methods for parsing and writing floats and doubles.
See https://github.com/pjfanning/double-reader-writer for some numbers and links.
The results are pretty good. POI does a lot of double parsing (for example). It may not be worth the extra code complexity/maintenance, given the expensive work that POI has to do generally.
I'm not planning on making any POI changes but I'm just sharing the details, in case someone might have a use case that might be helped by using these alternatives.
Hopefully, the JDK teams will consider moving some of these more performant algorithms into the JDK itself.
Regards,
PJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Re: number parsing and writing
Posted by PJ Fanning <fa...@yahoo.com.INVALID>.
Here is the link in plain text - as it may not link properly in some email readers.
https://github.com/pjfanning/double-reader-writer
On Friday 29 April 2022, 14:02:39 GMT+2, PJ Fanning <fa...@yahoo.com> wrote:
Hi everyone,
I've been doing some analysis of alternatives to using the JDK methods for parsing and writing floats and doubles.
See https://github.com/pjfanning/double-reader-writer for some numbers and links.
The results are pretty good. POI does a lot of double parsing (for example). It may not be worth the extra code complexity/maintenance, given the expensive work that POI has to do generally.
I'm not planning on making any POI changes but I'm just sharing the details, in case someone might have a use case that might be helped by using these alternatives.
Hopefully, the JDK teams will consider moving some of these more performant algorithms into the JDK itself.
Regards,
PJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org