in reply to RE: RE: RE: RE: RE (tilly) 2 (blame): File reading efficiency and other surly remarks
in thread File reading efficiency and other surly remarks

Win98, Perl5.6.0 plus "ActiveState Build 615".

Do you have any theories about why the buffering in perl's internals isn't implented as efficiently as your Perl code, especially considering the overhead involved in executing perl opcodes?

        - tye (but my friends call me "Tye")
  • Comment on RE6 (tye): File reading efficiency and other surly remarks

Replies are listed 'Best First'.
RE: RE6 (tye): File reading efficiency and other surly remarks
by lhoward (Vicar) on Aug 26, 2000 at 23:33 UTC
    It probably has to do with how ActiveState/WinPerl implements its IO layer vs. how traditional Perl on Unix implementes its IP layer. By the looks of things; it looks like your technique is faster under Windows/ActiveState while mine is faster under UNIX. Just another cross-platform gotcha to be aware of.