Re: [RFC] Dynamic window size on repack?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, 8 Jul 2007, Linus Torvalds wrote:
>
> In other words, just look at how the variables "struct unpacked *array" 
> (the whole window array) and the "struct unpacked *n" (the "next entry" in 
> the array using a simple circular queue using "idx") are accessed.

Side note: a limit based on object sizes is likely a much better way to 
handle the window than just a "number of objects" thing ever was. Doing 
the size in number of objects was easier, and is fine for source code that 
tends to have a reasonably normal distribution of sized, but yeah, if you 
have a few really big objects with lots of history, then it's likely the 
wrong thing to do just because it can get really expensive.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux