Last post Oct 19, 2016 10:23 AM by sudip_inn
Oct 19, 2016 08:33 AM|sudip_inn|LINK
people often say when we do boxing and unboxing then application performance degrades but i never found any article which show the performance problem occur with boxing and unboxing. thanks
Oct 19, 2016 09:58 AM|PatriceSc|LINK
Do you mean some actual benchmark such as https://www.dotnetperls.com/unboxing ? Not though that even if it "slow"; it higly depends on the scale on which you'll do that (I saw once someone almost suggesting
to avoid method calls because he found calling a method millions of times is much more slower than doing nothing at all !!!).
The real reason is rather to just not use boxing/unboxing because you usually don't need it.
Oct 19, 2016 10:23 AM|sudip_inn|LINK
very nice link. thanks