Speed hack dirty?
Tim Rowledge
rowledge at interval.com
Tue Jan 20 17:47:13 UTC 1998
On Mon 19 Jan, Gerardo Richarte wrote:
> Christopher Oliver wrote:
> >
> > In my cryptology program, I need to rotate a 32 bit value by a multiple
> > of eight bits. I started with:
You might find it worth adding a new prim to do this; it wouldn't cost much effort and would probably be a welcome addition to the system generally.
Just another thought though - if you have a large number of values to do the same rotate to, it might work to use bitblt!
--
Useful random insult:- Lights are on but nobody's home.
Tim Rowledge: rowledge at interval.com (w) +1 (650) 856-7230 (w)
tim at sumeru.stanford.edu (h) <http://sumeru.stanford.edu/tim>
More information about the Squeak-dev
mailing list
|