Re: Speeding up XCode?
Re: Speeding up XCode?
- Subject: Re: Speeding up XCode?
- From: email@hidden
- Date: Sun, 16 Oct 2005 13:27:48 +1000
I don't intend the following comments to be directed specifically
at Robert, but when I see all of these complaints about the
slowness of XCode in dealing with large files, I always wonder why
people aren't doing the right thing and breaking these large files
up into several smaller, more manageable files.
Unfortunately, this is not always possible for source code files
generated by programs.
I'm sympathetic to both sides of the argument, but in any case
there's only one possible solution: change stuff. The Xcode guys
don't sit around all day thinking up new Origami patterns. This
issue isn't new to them, and aside from adding your vote via
bugreporter, bitching on the lists isn't going to help.
What we can do, the community, is avoid unnecessarily large files by
changing our styles, and changing our auto-generators to output in a
nicer form, etc. My experience with things like bison/yacc/etc
hasn't been positive... more than time for someone to pull those
programs out of the 80's.
Unless anyone has something constructive to add - some of the tips on
file saving have been good so far - it's best to let this thread end
naturally... no need to get into yet another flame war over this
topic. Please. :)
But while I'm here now anyway, a few of my own tips.
* I tend to save every time I switch to another program, so I don't
get held up waiting for Xcode to become responsive again. But then I
also store all my projects on an external drive via CVS, so I tend to
take the time to check in all my changes anyway - good for backups,
good for revision control, good for my sanity. :)
* I also favour vi extensively when making relatively small
modifications to files... what I really think would be cool would be
if you could have vi as your editor within Xcode.. :)
* Lastly, I avoid opening/closing windows where possible. I keep my
working set open in separate windows, and when closing them try to
close and then save all of them at once.
* I have predictive compilation on for small projects, off for larger
ones. I find for small projects (a few thousand lines) Xcode can
usually compile the whole thing in the time it takes me to hit
Command-S followed by Command-Y (on my current model Powerbook).
Larger projects, it seems to get held up for too long, and starts
making silly errors like compiling old, stale versions of files, etc.
* I have indexing off (usually). Latest versions of Xcode aren't
nearly as bad as it used to be, but indexing is still dog slow. And
usually unnecessary - Find In Project still works more than fast enough.
Wade Tregaskis
ICQ: 40056898
AIM, Yahoo & Skype: wadetregaskis
MSN: email@hidden
iChat & email: email@hidden
Jabber: email@hidden
Google Talk: email@hidden
http://homepage.mac.com/wadetregaskis/
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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