in reply to relative speed of 5.8.0

(reformatted repost from p5p)Pine.SOL.4.10.10207241358390.26225-100000@maxwell.phys.lafayette.edu

Yves / DeMerphq
---
Please dont upvote this node. Its a repost FYI only. (Email addresses were obfued)

Replies are listed 'Best First'.
Re: Re: relative speed of 5.8.0 (repost from p5p)
by demerphq (Chancellor) on Jul 26, 2002 at 09:38 UTC
    (reformatted repost from p5p)20020725153047.2333.2@bactrian.elixent.com


      Andy Dougherty <doughera_at_lafayette.edu> writes:

      I'd expect that programs that use split() a lot also probably do a lot of I/O. I'm unsure how the PerlIO system benchmarks against earlier stdio versions,

      As are we all.

      particularly on systems where perl could "cheat" and poke around inside the stdio buffers.[*]

      On such system's PerlIO will normaly use :stdio layer as its underlying implementation. For the majority of calls that means a function call and a couple of indirections more that before.

      If you want PerlIO and speed is important to you than using :perlio will normally be slightly quicker than :stdio. :perlio allows the poking around and does not have some of the overheads of a typical system's stdio (e.g. no MUTEX locking we don't share them between threads).

      --
      Nick Ing-Simmons
      http://www.ni-s.u-net.com/
      

    Yves / DeMerphq
    ---
    Please dont upvote this node. It is posted FYI only.