lkml.org 
[lkml]   [2011]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [patch v3 6/7] crc32: add-slicing-by-8.diff
Date
> >    - extend largest BITS size from 32 to 64
> > - extend table from tab[4][256] to tab[8][256]
> > - change algorithm to align on 8 byte boundary
> > (it was noted that all that is really required
> > is that the inner loop must comsume 8 bytes.
> > As written it can start on even or odd 4 byte
> > boundary.)
> So why not do that in the code too?
>

I did the experiment with the random test set and it is a couple of % faster
so I made the change. I had thought that it wouldn't make a measurable
difference.



\
 
 \ /
  Last update: 2011-08-09 22:55    [W:0.827 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site