git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [EGIT PATCH 1/4] Change history page table to SWT.VIRTUAL.

From
RSRoger C. Soares <rogersoares@intelinet.com.br>
Date
Apr 1, 2008, 03:54 UTC
Message-ID
<47F1B1D9.3090209@intelinet.com.br>
In-Reply-To
<20080401033614.GP10274@spearce.org>
Shawn O. Pearce escreveu:
> So anyway, I see no breakage on Mac OS X or Win32 with your patch,
> and you said you tested it on Linux, so I'm going to include it.
> Thanks for figuring that one out, its a nice performance boost.
>   
Cool.
Show 12 quoted lines
>> Maybe another option to try before leaving windows out is the 
>> ILazyContentProvider. Have you noticed that while GenerateHistoryJob is 
>> updating the table you can't use it? Because the input is regenerated 
>> every time, the table keeps going back to the first row.
>>     
>
> Hmm.  I didn't notice that, but at this point its so damn fast for
> me that I don't have the reflexes to really try and use the table
> before GenerateHistoryJob is complete.  I'll have to add some sleeps
> in there to make it slow down its work and see if I can reproduce
> what you are describing.
>   

Yep, I noticed it while debuging and don't think it's very important. I'm very happy with the current speed and it's also almost instant to me. I think the lazy provider could be of some help in case someone is reading from a slow nfs partition or something like that. It's very border case thought.

[]s, Roger.

Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 5 of 6 in “Change history page table to SWT.VIRTUAL.”
  1. 1/4 Change history page table to SWT.VIRTUAL.Roger C. Soares, Mar 30, 2008
  2. Shawn O. PearceMar 31, 2008
  3. Roger C. SoaresApr 1, 2008
  4. Shawn O. PearceApr 1, 2008
  5. Roger C. SoaresApr 1, 2008
  6. Shawn O. PearceApr 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.