On Fri, Nov 05, 2004 at 09:16:36AM +0100, Leopold Toetsch wrote: > Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> wrote:
> * a PackFile is a PMC (needed e.g. for "eval" anyway) > * the binary representation is a frozen PackFile > > So, pbc2cc.pl needs just to hexify that image. And the entry point hexify? IIRC the fastest compilable representation of arbitrary byte blocks we found for perl 5 was how Encode does it, which was {} initialisers such as static const U8 enctable[512] = { 194,128,194,129,194,130,194,131,194,132, 194,133,194,134,194,135,194,136,194,137,194,138,194,139,194,140,194,141,194, ... 239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255 }; Nicholas Clark