In the worst case, yes. And if you're walking history then the
probability of hitting the worst case eventually is rather high.
Right. Should be really trivial to hook into unpack_delta_entry()
actually replacing the call to unpack_entry() with a wrapper function
that returns cached data, or populates the cache with unpack_entry()
when no match is found.
Then it would only be a matter of coming up with a clever cache
eviction algorithm.
Well, I think the pack format issue is significant too. But because
those are independent issues the gain in performance will be additive.
Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html