4 ms·
One thing I've found is that with macros, it can actually be easier to write performant primitive-reliant code. Still not up to Common Lisp standards, but much
by fiatmoney 13y ago
One thing I've found is that with macros, it can actually be easier to write performant primitive-reliant code. Still not up to Common Lisp standards, but much better than, eg, having to use a scripting language to generate all the primitive specializations of your data structure, like Trove and Fastutil do.
- aria 13y agoIndeed, the core logic of HipHip is the same for all primitive types and macros generate type-hinted versions for each primitive type.