foo in this case is 3, so I bet X*Y*foo+1 is about as even as often as X*Y*foo+0 in this case.
/ Mirar
Previous text:
2004-08-09 11:15: Subject: Image.Image
No, but now most code do malloc(X*Y*foo+1), which probably isn't good when malloc works on blocks bigger than bytes. X*Y*foo tend to have a nice, round size.
/ Martin Nilsson (DivX Networks)