> > This would raise a simple basic question... why FPC doesn't > also use > > 4K buffer? If it'd improve I/O performance a lot. Any specific > > technical reasons why FPC decide to allocate 256 byte for > I/O buffer? > > Yes. TP compatibility. The "Text" internal record contains the buffer.
Could have a compiler switch for the user to select that buffer size I suppose (the switch would set some compiler constant and then the compiler would see it and recompile/link the needed file[s]) ---------------- George Birbilis ([EMAIL PROTECTED]) Microsoft MVP J# for 2004-2006 Borland "Spirit of Delphi" * QuickTime, QTVR, ActiveX, VCL, .NET http://www.kagi.com/birbilis * Robotics http://www.mech.upatras.gr/~Robotics http://www.mech.upatras.gr/~robgroup _____ avast! Antivirus <http://www.avast.com> : Outbound message clean. Virus Database (VPS): 0624-1, 13/06/2006 Tested on: 13/6/2006 6:38:13 ?? avast! - copyright (c) 1988-2006 ALWIL Software. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
