Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Renaming files in Xcode: Where are my gigaflops? (From: Stephane <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.