Files
gitx/PBGitGraphLine.h
Pieter de Bie e570c3e50a Use structs for graph lines
We used to use NSObjects, which was really expensive, because for each commit
as many as 100 graphlines can be created. By preallocating them and not
using NSObjects in general, we gain a massive speedup
2008-11-24 22:54:04 +01:00

16 lines
244 B
C

//
// PBLine.h
// GitX
//
// Created by Pieter de Bie on 27-08-08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
struct PBGitGraphLine
{
int upper : 1;
int from : 8;
int to : 8;
int colorIndex : 8;
};