Re: Fast access git-rev-list output: some OS knowledge required

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marco Costalba <mcostalba@...>
Cc: Git Mailing List <git@...>
Date: Wednesday, December 6, 2006 - 3:51 pm

Shawn Pearce <spearce@spearce.org> wrote:

You'll also need to call:

	setup_git_directory();

before any of the below; but that should be done once per process.


Although now that I think about it the library may not be enough
of a library.  Some data (e.g. commits) will stay in memory forever
once loaded.  Pack files won't be released once read; a pack recently
made available while the application is running may not get noticed.

Perhaps there is some fast IPC API supported by Qt that you could
use to run the revision listing outside of the main UI process,
to eliminate the bottlenecks you are seeing and remove the problems
noted above?  One that doesn't involve reading from a pipe I mean...

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Fast access git-rev-list output: some OS knowledge requi..., Johannes Schindelin, (Wed Dec 6, 7:27 pm)
Re: Fast access git-rev-list output: some OS knowledge requi..., Shawn Pearce, (Wed Dec 6, 3:51 pm)
Re: Fast access git-rev-list output: some OS knowledge requi..., Michael K. Edwards, (Fri Dec 8, 4:10 pm)
Re: Fast access git-rev-list output: some OS knowledge requi..., Johannes Schindelin, (Thu Dec 7, 10:53 am)
Re: Fast access git-rev-list output: some OS knowledge requi..., Johannes Schindelin, (Thu Dec 7, 12:01 pm)