author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 15 Jan 2007 10:03:32 +0000 (05:03 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 15 Jan 2007 11:05:22 +0000 (06:05 -0500) | ||
commit | 80144727acc401070039434987692276dcb9273c | |
tree | f34115d3665cfa967e5e577deda550daf56cad5d | tree | snapshot |
parent | f70b653429ebc7fdde0b36a63e1deb4aadb450d3 | commit | diff |
Remove unnecessary duplicate_count in fast-import.
There is little reason to be keeping a global duplicate_count
value when we also keep it per object type. The global counter can
easily be computed at the end, once all processing has completed.
This saves us a couple of machine instructions in an unimportant
part of code. But it looks slightly better to me to not keep
two counters around.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
There is little reason to be keeping a global duplicate_count
value when we also keep it per object type. The global counter can
easily be computed at the end, once all processing has completed.
This saves us a couple of machine instructions in an unimportant
part of code. But it looks slightly better to me to not keep
two counters around.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c | diff | blob | history |