Sat Oct 31 12:02:11 EDT 2015
PF uses both nonlinear and linear memory.
Code is stored in nonlinear memory.
Data should reause linear memory.
The missing part is a bridge between:
- MIMO dataflow primitives
- buffer allocation and reuse
Assuming the multiple-dispatch is handled elsewhere, the main problem
is per type buffer allocation and reuse.
In an application, there are ususually not a lot of "packet" types
involved, so it might be good to make a registry.
The magic happens in _px_unlink()
Currently, it supports rc objects. What is needed, is to extend rc,
or make a similar class that performs malloc-like reuse.