Re: StringBuilder Extension: IsQuotedBy

Chris Tavares <[email protected]> Thu, 14 Feb 2008 11:00:26 -0800
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <003301c86f3b$dc52d9f0$94f88dd0$@com>
My last perf test I did showed plan object creation at less than 100
nanoseconds per instance on my box (2.13 GHz Pentium M). Creating 5,000,000
instances took less than a 10th of a second.

I don't think object creation in .NET is expensive at all.

-Chris

-----Original Message-----
From: Discussion of development on the .NET platform using any managed
language [mailto:[email protected]] On Behalf Of Per Bolmstedt
Sent: Thursday, February 14, 2008 5:34 AM
To: [email protected]
Subject: Re: [DOTNET-CLR] StringBuilder Extension: IsQuotedBy

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 DevelopMentorR  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com