pony-patterns icon indicating copy to clipboard operation
pony-patterns copied to clipboard

Add avoid boxing via Parameterization pattern

Open SeanTAllen opened this issue 8 years ago • 0 comments

In performance patterns.

You can use function parameterization to avoid boxing/unboxing primitives (a serious perf slowdown). This is going to bite people coming from dynamic languages if they use Any for actor methods. Can also impact on people using union types a lot.

SeanTAllen avatar Jul 23 '16 20:07 SeanTAllen