David Leadbeater > Runops-Optimized-0.02 > Runops::Optimized

Download:
Runops-Optimized-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Runops::Optimized - Optimized run loop

SYNOPSIS ^

  use Runops::Optimized;

or

  export PERL5OPT=-mRunops::Optimized

DESCRIPTION ^

This is an experimental runloop for perl >= 5.14. It replaces the core perl runloop defined in run.c with a version that unrolls the operations into assembly. This could be a tiny bit faster depending on your CPU.

Please don't use this unless you wish to help development, the main reason it is on CPAN is to get CPAN testers reports.

SEE ALSO ^

Runops::Switch, Faster.

LICENSE ^

Copyright 2011 David Leadbeater. This program is free software; you can redistribute it and/or modify it under the same terms as perl 5.14 or any later version of perl 5.

Includes sljit:

  Copyright 2009-2010 Zoltan Herczeg (hzmester@freemail.hu). All rights
  reserved.

Under a BSD-like license, see sljit/sljirLir.h.

AUTHOR ^

David Leadbeater <dgl@dgl.cx>, 2011

THANKS ^

Some ideas come from Reini Urban's Jit module.

Additional inspiration from many sources, particularly LuaJIT, although obviously this is no match for that.

syntax highlighting: