Why Perl needs a VM

Ovid publiustemp-londonpm at yahoo.com
Wed Sep 5 09:22:18 BST 2007


--- ben at bpfh.net wrote:

> I've had a poke at the code and sure enough, we're using
> XPathContext, which 
> I'd thought was a pure perl piece on top of XML::LibXML. It isn't -
> it's got a C implementation at its heart.

Pardon me for asking a potentially insulting questions, but have you
profiled your application so that you *know* why it's slow and where? 
If you find yourself getting bogged down in a couple of minor spots
which can be optimized, it may be worth it to simply optimize those
parts rather than risk the dangers of rewriting a system.

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/


More information about the london.pm mailing list