Adam Jackson <a...@redhat.com> wrote: > We do actually call Hash() on resource lookup, so let's not make it more > expensive than necessary. The compiler isnmay not be smart enough to > notice that we only ever have a power of two count of buckets, so > flatten the log2 math so it doesn't have to know. > > Signed-off-by: Adam Jackson <a...@redhat.com>
Reviewed-by: Fernando Carrijo <fcarr...@freedesktop.org> _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel