Robin Berjon thought I should post this as a heads-up to anyone thinking
what I thought: "XS or pure perl code will always be faster than backticks
or system() calls".

Wrong.

I spent some time converting some of our backtick programs to XS code here,
and the result was absolutely zero difference in performance.

I posted to c.l.p.moderated about this. The thread is here:
http://groups.google.com/groups?hl=en&frame=right&th=1cbfb00db194a925&seekm=
eb3031b9.0109100209.7c85168%40posting.google.com#link1

The OS was Linux (tested on kernel's 2.2 and 2.4). I think it's probably
fairly OS dependant, but I figure most people are on linux.

Matt.

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

Reply via email to