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: "Mark Wagner" <email@hidden>
- Date: Wed, 15 Nov 2006 12:29:09 -0800
On 11/15/06, Karan, Cem (Civ, ARL/CISD) <email@hidden> wrote:
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. It occurred to me that
I spend a lot of time waiting, and, because I'm going to go through a
similar problem on my next project (indexing a lot of strings), I just
got curious as to what XCode's algorithm is doing precisely. Does
anyone know the precise algorithm in use for the batch find, and for the
project indexer?
I don't know what the indexer does, but the "find in project" code
seems to simply load the entire candidate fileset into memory, then do
a linear search. This is a major problem when you're searching in
more data than you have available memory: a full-project search
renders my computer effectively unusable for five to ten minutes.
--
Mark Wagner
_______________________________________________
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