I saw B::Bytecode and tried it out a bit.
Then I saw Module::Compile and tried it out a bit.
Now I'd like to mix and match them and compile a module (*.pm) to bytecode and save the result as *.pmc
The point would be saving parsing and bytecode compiling
for each program execution, given that I load hundreds of modules every time.
I suppose I am the first one coming up with this Cool Idea™, uh? ;-)
From what I read, perl already loads *.pmc files, but:
- is there a ready-made solution to this problem?
- is it sane to do that?
- is B::Bytecode going to be abandoned?