https://github.com/beliavsky/fortran-calling-c-for-io
speed comparison of Fortran internal read with Fortran calling C atoi() function
https://github.com/beliavsky/fortran-calling-c-for-io
atoi c fortran string string-conversion
Last synced: about 2 months ago
JSON representation
speed comparison of Fortran internal read with Fortran calling C atoi() function
- Host: GitHub
- URL: https://github.com/beliavsky/fortran-calling-c-for-io
- Owner: Beliavsky
- Created: 2022-02-23T21:22:56.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-23T21:30:55.000Z (about 3 years ago)
- Last Synced: 2025-01-30T07:42:45.364Z (3 months ago)
- Topics: atoi, c, fortran, string, string-conversion
- Language: Fortran
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fortran-calling-C-for-IO
speed comparison of Fortran internal read with Fortran calling C atoi() functionSources are compiled with the -O3 option for gfortran and Intel Fortran on Windows.
Here are the run times in secondsgfortran ifort source
12.770 3.549 xread_int.f90
14.456 2.949 xread_int_fmt.f90
0.416 0.362 xatoi_loop.f90