From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 5 Jul 1993 06:06:20 -0400 From: Icarus Sparry I.Sparry@ss1.bath.ac.uk Subject: sfio vs bio Topicbox-Message-UUID: fc6ad048-eac7-11e9-9e20-41e7f4b1d025 Message-ID: <19930705100620.V-shlqXfKw9uAZyk-VkSaixFw0wxtml65_Eo5XKyYuw@z> David Korn and Kiem-Phong Vo have just released a new version of sfio, the 'Safe Fast I/O' package, which is designed as a replacement for stdio. The paper 'How to use the Plan 9 C Compiler' tells us "Bio is a small and very efficient, particularly for buffer-at-a-time or line-at-a-time I/O. Even for character-at-a-time I/O, however, it is significantly faster than the Standard I/O library" Before I do it, has anyone else measured these two on similar hardware (e.g. Sun Sparc-Station 2, running SunOS)? The paper with sfio gives some figures for Andrew Humes FIO package and some existing stdio packages. Sfio has more facilities, e.g. you can define error handlers for streams, and can make use of operating system facilities like memory mapped files. Icarus