|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
in VB, String '=' is two orders of magnitude slower than .Equals!Just stumbled accross this article, thought it would be interesting to
share. Paul http://www.thecodingmonkey.net/PermaLink.aspx?guid=112144590767701842 "PJ6" <no***@nowhere.net> wrote in message The article is useless. The author's diagnosis of the problem is way off. news:eNrh2dIyGHA.1936@TK2MSFTNGP06.phx.gbl... > Just stumbled accross this article, thought it would be interesting to > share. > > Paul > > http://www.thecodingmonkey.net/PermaLink.aspx?guid=112144590767701842 > There's no COM interop involved. And the test is done on .NET 1.1. The performance difference has disappeared in 2.0. David > ... And the test is done on .NET 1.1. The For the record, my testing confirms that under fw 1.1, the (almost) 2 to 1 > performance difference has disappeared in 2.0. performance loss of '=' vs .equals is true. I'm glad to hear that the problem is gone in 2.0. PJ6 wrote:
> Just stumbled accross this article, thought it would be interesting to Did you check out the link in one commenter rebuttal? I tend to> share. > > Paul > > http://www.thecodingmonkey.net/PermaLink.aspx?guid=112144590767701842 disbelieve that the = is slower because I believe that the testing methodology was wrong. Here is the link to a rebuttal: http://addressof.com/blog/archive/2005/12/07/9298.aspx Regards, Chris "PJ6" <no***@nowhere.net> schrieb: I strongly recommend to read the comments on this article on the bottom of > Just stumbled accross this article, thought it would be interesting to > share. > > http://www.thecodingmonkey.net/PermaLink.aspx?guid=112144590767701842 the page referenced above. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Sorry, my bad.
Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:OVCmkHJyGHA.4536@TK2MSFTNGP04.phx.gbl... > "PJ6" <no***@nowhere.net> schrieb: > > I strongly recommend to read the comments on this article on the bottom of > the page referenced above.
Saving changes made in DataGridView
Atomic Operation? how to force a 'SyncWithCurrencyManager' update hex to unicode: problem Generic collection question One Last Class Question - Example that works Are codes ran in try blocks expensive? how to make a mouseup event called only once during a double click event? DefaultValueAttribute And Array Properties Strange float behaviour |
|||||||||||||||||||||||