mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Optimize rev-list parsing
This uses the C fgets() over the weird readLine implementation I found. It speeds up the rev-parsing significantly: we went from ~4.5 seconds on the git.git repo to ~0.95 seconds. And that's with the secret new date parsing!
This commit is contained in:
@@ -224,9 +224,7 @@
|
||||
{
|
||||
if (![[aTableColumn identifier] isEqualToString:@"subject"])
|
||||
return;
|
||||
|
||||
NSLog(@"Doing cell at index: %i", rowIndex);
|
||||
|
||||
|
||||
NSNumber* n = [NSNumber numberWithInt:(rowIndex % 2)];
|
||||
[aCell setCommit:n];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user