Re: Faster indexing for batch find and project indexer
Re: Faster indexing for batch find and project indexer
- Subject: Re: Faster indexing for batch find and project indexer
- From: James Bucanek <email@hidden>
- Date: Wed, 15 Nov 2006 13:05:15 -0700
Karan, Cem (Civ, ARL/CISD) wrote on Wednesday, November 15, 2006:
>I've been making a lot of changes in some files (4-500+ at a time) in my
>project to meet our new documentation requirements. This is relatively
>easy to do via the batch find command, but I noticed that 1) it takes a
>lot time to search all the files, and 2) every time I save, project
>indexer gets kicked off, which also takes time.
What kind of batch finds are you doing? The regular text and RegEx searches don't use the symbols index, so the fact that Xcode is reindexing should have no impact on your searching beyond competition for CPU and I/O resources. If you are doing a lot of text or RegEx searches, simply turn indexing off.
Also make sure you are searching only your source files, and not all of the headers, frameworks, and so forth. You might want to create a batch search set just for the source files you are working on.
I find that with enough RAM, most of my source files get cashed prettily quickly. In a project with over 300 source files, most text and RegEx searches complete within a couple of seconds (Dual G5, 4GB RAM).
James Bucanek
____________________________________________________________________
Author of Beginning Xcode ISBN: 047175479X
<http://www.beginningxcode.com/>
_______________________________________________
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