Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 456 Bytes

02-eliminating-boxing.md

File metadata and controls

9 lines (5 loc) · 456 Bytes

Eliminating boxing

The other huge benefit generics bring is the elimination of boxing. This repository's section on boxing benchmarks revealed that eliminating boxing can speed up execution by a factor of 10 while consuming half the memory!

However, before you go wanting to rewrite all of those marshal/unmarshal functions that take empty interfaces, well...


Next: Marshal/unmarshal