4 ms·
>You can get far with inlining. You can also use libraries specifically built with this in mind. This implementation of parametric types for Common Lisp looks
by flavio81 9y ago
>You can get far with inlining. You can also use libraries specifically built with this in mind.
This implementation of parametric types for Common Lisp looks nice:
https://github.com/cosmos72/cl-parametric-types https://github.com/cosmos72/cl-parametric-types
It allows you to do templating which additionally declares the (parametrized) types, so the compiler can optimize accordingly.
Worth a look.