binary data files

T. William Wells bill at twwells.uucp
Mon May 1 06:55:41 AEST 1989


In article <89Apr30.140219edt.18480 at me.utoronto.ca> zougas at hammer.me.UUCP (Athanasios(Tom) Zougas) writes:
: >1. Files take a bit longer to read in
:                ^^^^^
: Have you ever tried reading/writing a 1,000,000 real numbers using
: ascii instead of binary? I changed an engineering analysis program
: from being intolerably SSSLLLOOOWWW to exceedingly fast by using
: binary data files instead of ascii. My boss was happy :-)

Bet you were using scanf! It isn't so bad if you do it yourself, but
scanf and friends are SSSLLLOOOWWW.

---
Bill                            { uunet | novavax } !twwells!bill



More information about the Comp.lang.c mailing list