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.
In reply to Re: Re: relative speed of 5.8.0 (repost from p5p)
by demerphq
in thread relative speed of 5.8.0
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |