Newsgroups: comp.lang.c Path: utzoo!utgpu!jarvis.csri.toronto.edu!me!zougas From: zougas@me.utoronto.ca ("Athanasios(Tom) Zougas") Subject: Re: binary data files Message-ID: <89Apr30.140219edt.18480@me.utoronto.ca> Reply-To: zougas@hammer.me.UUCP (Athanasios(Tom) Zougas) Organization: University of Toronto Mechanical Engineering References: <10946@bloom-beacon.MIT.EDU> <12546@ut-emx.UUCP> Date: Sun, 30 Apr 89 14:02:07 EDT In article <12546@ut-emx.UUCP> nather@ut-emx.UUCP (Ed Nather) writes: >.... Believe me, ascii is better: > ... >Bad things [WRT ascii data file]: > >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 :-) Tom. p.s. This was on a microcomputer, name witheld to protect my innocence. -- This is my signature: tom zougas