Re: StringBuilder Extension: IsQuotedBy
Sébastien Lorion <[email protected]> Thu, 14 Feb 2008 09:15:31 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
Creating lots of short lived objects in a short time provoke many Gen1 which artificially promotes other objects to Gen2 or Gen3. You then get what Rico Mariani calls a mid-life crisis. http://blogs.msdn.com/ricom/archive/2003/12/04/41281.aspx So allocating memory in .NET is fast, but if you abuse it, then you create yourself a big problem. Sébastien On 2/14/08, Per Bolmstedt <[email protected]> wrote: > On Thu, 14 Feb 2008 12:28:29 +0100, Frans Bouma <[email protected]> wrote: > > > creating objects is indeed a bit expensive in .NET, > > > I've heard the exact opposite. And I find this hard to relate to as a > general statement... could you put this in perspective? Is it more expensive > in .NET than on comparable platforms, or is it more expensive in .NET than > comparable implementations that do not create objects? > > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Sébastien www.sebastienlorion.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com