LCA: How to destroy your community
LCA: How to destroy your community
Posted Jan 24, 2010 16:09 UTC (Sun) by johnflux (guest, #58833)In reply to: LCA: How to destroy your community by zooko
Parent article: LCA: How to destroy your community
It seems, roughly, that SHA256 takes about 40% more time than SHA1. From what I understand, the speed of git is determined most by the speed of the SHA1 implementation (Based on a long thread called 'Linus' sha1 is much faster!'). So roughly, switching would make everything 40% slower.
I think that's a trade-off that they wouldn't be willing to make. However, just playing with the C code of the SHA1 code by the git developers ended up making it nearly twice as fast, so I don't know what the optimal speed difference is against SHA256.
If the numbers stay about the same, I think the git guys wouldn't accept a 40% speed decrease.
(On a side point - subscribing so LWN was worth every penny. How I love to have civil conversations with intelligent people.)
Posted Jan 24, 2010 17:14 UTC (Sun)
by zooko (guest, #2589)
[Link] (4 responses)
If git holds out for SHA-3 then hopefully SHA-3 will turn out to be faster than SHA-256. There's even a chance that it will turn out to be faster than SHA-1 on modern CPUs!
Posted Jan 25, 2010 0:32 UTC (Mon)
by johnflux (guest, #58833)
[Link]
Posted Jan 25, 2010 3:56 UTC (Mon)
by njs (subscriber, #40338)
[Link] (1 responses)
It can also easily be the bottleneck on, say, committing a large merge (many modified files, all in cache because they were just written).
Posted Dec 29, 2015 18:11 UTC (Tue)
by Spitfire19 (guest, #106038)
[Link]
Posted Jan 27, 2010 11:58 UTC (Wed)
by broonie (subscriber, #7078)
[Link]
LCA: How to destroy your community
LCA: How to destroy your community
LCA: How to destroy your community
LCA: How to destroy your community
LCA: How to destroy your community
