• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Locking from within an enumerator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locking from within an enumerator


  • Subject: Re: Locking from within an enumerator
  • From: Shawn Erickson <email@hidden>
  • Date: Wed, 21 Apr 2004 09:26:28 -0700

I would consider that a moderately sized array depending on how often you need to copy it. You are only having to allocate a few pages (4K blocks) to cover the copy of the array and sending several thousand messages.

You can try it an profile things to see if it is an issue.

-Shawn

On Apr 21, 2004, at 8:42 AM, Mike R. Manzano wrote:

Is an array of 1000-5000 elements moderately sized? :)

Mike

On Apr 20, 2004, at 6:41 PM, Scott Thompson wrote:

Given moderately sized arrays, creating the array copy is pretty fast because it just increases the reference counts on all the objects in the array. Assuming you've set up
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Locking from within an enumerator (From: "Mike R. Manzano" <email@hidden>)
 >Re: Locking from within an enumerator (From: Scott Thompson <email@hidden>)
 >Re: Locking from within an enumerator (From: "Mike R. Manzano" <email@hidden>)

  • Prev by Date: RE: Transparency?
  • Next by Date: Sample code for 'dynamic menus'
  • Previous by thread: Re: Locking from within an enumerator
  • Next by thread: Re: Locking from within an enumerator
  • Index(es):
    • Date
    • Thread