• 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: Renaming files in Xcode: Where are my gigaflops?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaming files in Xcode: Where are my gigaflops?


  • Subject: Re: Renaming files in Xcode: Where are my gigaflops?
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 26 Apr 2007 11:01:42 -0700


On Apr 26, 2007, at 3:08 AM, Stephane wrote:

Is renaming a file in Xcode such an intensive task that it requires more CPU power than 2x2.5 Ghz?


Problem:

--------


As soon as the file hierarchy in the Groups & Files list is bigger than 50 files, renaming a file freezes XCode for at least 4 seconds and may result in unwanted result.


Example:

--------


Let's say we have a file named toto.


1. Option Click on toto

2. Place the insert text cursor or select part of the name

3. Type the new characters

4. Hit return


In the middle of these few steps, Xcode is going to hang. And depending probably on weather condition or traffic congestion at the North Pole, the results may vary. Either the name is completed deleted or some characters have not been taken into account or sometimes you end up with the appropriate result.


Question:

---------


I'm using Xcode 2.4.1 on a 2x2.5 GHz Mac on 10.4.9. For this specific repeating task, a Macintosh LC (68020 at 16 MHz IIRC) with CodeWarrior Bronze is faster (real-time) and is working correctly.


Would there be any way to speed things up?


This is a known problem in Xcode 2.x.  It's caused by a "notification storm" where a simple change causes a cascade of NSNotificationCenter messages to be sent to every item in the Groups and File tree.  It has been fixed in Xcode 3.x.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Renaming files in Xcode: Where are my gigaflops?
      • From: Stephane Sudre <email@hidden>
References: 
 >Renaming files in Xcode: Where are my gigaflops? (From: Stephane <email@hidden>)

  • Prev by Date: Re: Renaming files in Xcode: Where are my gigaflops?
  • Next by Date: Re: Renaming files in Xcode: Where are my gigaflops?
  • Previous by thread: Re: Renaming files in Xcode: Where are my gigaflops? getting OT!
  • Next by thread: Re: Renaming files in Xcode: Where are my gigaflops?
  • Index(es):
    • Date
    • Thread