cpanel / perl-compiler

cPanel's custom implementation of B::C
https://cpanel.net
Other
8 stars 3 forks source link

Let perlcc detect if B.pm is required for the compiled program and optimize it out when possible #71

Closed atoomic closed 7 years ago

atoomic commented 7 years ago

Following the fix for https://github.com/CpanelInc/perl-compiler/issues/55 via 51f67dbbf7d03c00a9b2a732a4f01da6d7fc36bd. We could easily improve perch by optimize out B when not needed.

The idea is to let perlcc running a dependency check using a Debug module at check time, then let B::C knows via an option if B is required

atoomic commented 7 years ago

fixed by 290c656e3642f22f9d4e9949f52d7b7ce6043079