Currently, the VPL2 compiler generates enterX dead code.
One a simple line following program in simple mode (3 event-actions pairs, with one event and one action each), not generating this code would reduce the bytecode usage from 38% to 33%.
On the long run, the Aseba compiler should remove dead code by itself, but it is harder to implement (although much more general) than not generating the dead code in the first place.
Currently, the VPL2 compiler generates
enterX
dead code.One a simple line following program in simple mode (3 event-actions pairs, with one event and one action each), not generating this code would reduce the bytecode usage from 38% to 33%.
On the long run, the Aseba compiler should remove dead code by itself, but it is harder to implement (although much more general) than not generating the dead code in the first place.