|
Only affects atomic types, not structs. Accepts three options:
- "-u always": always boxes
- "-u never": never boxes
- "-u smart": inserts a comparison of sizes, and boxes only if
the item is bigger than a pointer.
"smart" is smart in name only; I expected the comparison to be optimised
away (since the sizes of the types are known at compile-time), but it
seems to run significantly slower than the other options.
Steps to improve:
- try making the comparison compile-time (or, if it already is, find out
why it's so slow);
|