Re: Array.Sort?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tim Jarvis (TimJarvis_at_newsgroup.nospam)
Date: 01/08/05


Date: Sat, 08 Jan 2005 00:23:13 -0800

Marina wrote:

> Can't really think of a good reason. Would have made sense to me to
> make it an instance method. Unless there is something I'm missing as
> well.

I would imagine that concurrency is the issue. It wouldn't be safe to
sort via an instance method in a thread.

Cheers Tim.



Relevant Pages

  • Re: will #in? be in ruby2? (was Re: Finding shared elements between to arrays.)
    ... I'm missing something from a core or library class, ... instance method of the same name already or b) there is a singleton ... singleton method definition is attempted. ...
    (comp.lang.ruby)
  • Adding event handlers dynamically
    ... Maybe I'm missing something obvious, but is there some way to call ... Delegate) but create the delegate ... dynamically, but from an instance method, not a static one ... have a ctor. ...
    (microsoft.public.dotnet.framework)
  • Re: Array.Sort?
    ... Can't really think of a good reason. ... Unless there is something I'm missing as well. ... > Is it because it's changing the array you're sorting? ... > limitation where if it was an instance method, ...
    (microsoft.public.dotnet.framework)