Here another idea: following the discussions and progress made in this thread Faster string to double - #80 by hkvzjal we thought together with @Carltoffel that it could be a good idea to have a library for fast number parsing in Fortran. Here some aspects that could be interesting:
- Extend the methods for different number types: interfaces for real(8) and integer(4) are available, could be generalized
- Enable defining by the user whether to use ‘.’ or ‘,’ as the decimal place marker. ‘e’/‘E’ or ‘d’/‘D’ for the exponent in case of floats.
- Explore ways to improve robustness and efficiency. Error handling.
- Implement such that new methods can be integrated and tested easily. Ease of use by the final user in terms of calling interface
- Well documented
- Further tests/benchmarks (OS/architectures/compilers)
- other ideas ?