Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!twwells!bill From: bill@twwells.uucp (T. William Wells) Newsgroups: comp.lang.c Subject: Re: binary data files Message-ID: <893@twwells.uucp> Date: 30 Apr 89 20:55:41 GMT References: <10946@bloom-beacon.MIT.EDU> <12546@ut-emx.UUCP> <89Apr30.140219edt.18480@me.utoronto.ca> Reply-To: bill@twwells.UUCP (T. William Wells) Organization: None, Ft. Lauderdale Lines: 13 Summary: Expires: Sender: Followup-To: Distribution: Keywords: In article <89Apr30.140219edt.18480@me.utoronto.ca> zougas@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