O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Speed in Allocating Memory for New Objects

Ever since it was first released, the .NET infrastructure has had to battle a preconception that it’s slow. It’s the nature of preconceptions that they usually contain a kernel of truth. On-demand compilation by the Just-in-Time (JIT) compiler of the CLR is certainly a technology with many advantages—but speed is not one of them. But you can still defend the .NET infrastructure when it comes to the matter of speed.

.NET has several speed advantages, one of which is the creation of memory space for a new object. And let’s be honest, in almost any imaginable scenario, it’s more important to be able to create objects as quickly as possible as it is to be able to dispose of them as quickly as possible. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required