On Tue, 12 Feb 2008, Jon Smirl wrote:There's no fixed answer. We do various culling heurstics to avoid actually generating a diff at all if it looks unlikely to succeed etc. But in general, the way the window works is that (a) we only need to generate the _unpacked_ object once (b) we compare each object to the "window-1" preceding objects, which is how I got the O(windowsize^2) (c) but then that "compare" relatively seldom involves actually generating a whole diff! So the answer is: in _theory_ each object may be compared to (windowsize-1) other objects, but in practice it's much less than that. Linus - 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
| Adrian Bunk | Re: Linux 2.6.21 |
| Linus Torvalds | Linux 2.6.21-rc2 |
| WANG Cong | [-mm Patch] UML: fix a building error |
| Roland McGrath | Re: [PATCH 0/5] ftrace: to kill a daemon |
git: | |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Patrick McHardy | Re: [PATCH] netfilter: use per-cpu spinlock rather than RCU (v3) |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Theodore Ts'o | Re: cc1 fails silently |
| Michael Nolan | Power routines on notebook cause kernel panic |
| Marc Peters | v 0.11 boot disk problem |
| Dave `geek' Gymer | WARNING (was Re: New afio release) |
