graq has asked for the wisdom of the Perl Monks concerning the following question:

From Apache::File:
Apache::File does two things: it provides an object-oriented interface to filehandles similar to Perl's standard IO::File class. While the Apache::File module does not provide all the functionality of IO::File, its methods are approximately twice as fast as the equivalent IO::File methods. Secondly, when you use Apache::File, it adds several new methods to the Apache class which provide support for handling files under the HTTP/1.1 protocol.
Does anyone know why this is, how the author comes to this conclusion?

[Graq]

  • Comment on Why is Apache::File 'twice as fast' as IO::File ?

Replies are listed 'Best First'.
Re: Why is Apache::File 'twice as fast' as IO::File ?
by derby (Abbot) on Jun 26, 2003 at 11:35 UTC
A reply falls below the community's threshold of quality. You may see it by logging in.