home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!smurf.sub.org!news
- From: urlichs@smurf.sub.org (Matthias Urlichs)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: updating window text / getting text lines from buffer
- Date: 10 Sep 1992 13:38:30 +0200
- Organization: University of Karlsruhe, FRG
- Lines: 21
- Message-ID: <18nc3mINNov9@smurf.smurf.sub.org>
- References: <86967@netnews.upenn.edu> <1992Aug25.232449.12720@kronos.arc.nasa.gov> <zben-280892150237@zben-mac-ii.umd.edu>
- NNTP-Posting-Host: 127.0.0.1
-
- In comp.sys.mac.programmer, article <zben-280892150237@zben-mac-ii.umd.edu>,
- zben@ni.umd.edu (Charles B. Cranston) writes:
- > In article <1992Aug25.232449.12720@kronos.arc.nasa.gov>,
- > joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91) wrote:
- >
- > > a file documented somewhere in IM for getting the filemanager to
- > > parse files into lines delimited by any desired char ('\n' in this case)
- >
- [ PBRead{A}Sync example deleted ]
-
- Depending on what you're doing, though, it may be a lot faster if you
- allocate a largish buffer and just read your lines out of it.
- PBRead is _slow_ if used unbuffered. I once wrote a TIFF reader and dropping
- my own stupid buffer into the read procedure made the file reader five times
- faster.
-
- --
- Why does the porridge bird lay her egg in the air?
- --
- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\
- Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany -- +49-721-9612521 \o)/
-