Re: Byte-wise boolean optimisation
- From: jetmarc@xxxxxxxxxxx
- Date: 29 May 2007 11:50:02 -0700
fortunately my case is slightly simpler. I have one input byte and one
output byte and a given algorithm to transform the former into the latter,
but I want to simplify the algorithm to use just logic operators (instead
of loops).
The most simple way to do that is to use a table. Use your f1..8()
functions
to create the table either at runtime or at compiletime, whatever fits
better.
.
- References:
- [OT] Byte-wise boolean optimisation
- From: Thomas Pircher
- Re: [OT] Byte-wise boolean optimisation
- From: Jim Granville
- Re: [OT] Byte-wise boolean optimisation
- From: Thomas Pircher
- [OT] Byte-wise boolean optimisation
- Prev by Date: Re: DIP package LED dot matrix displays
- Next by Date: Re: OT: Trademark misuse
- Previous by thread: Re: [OT] Byte-wise boolean optimisation
- Next by thread: Re: [OT] Byte-wise boolean optimisation
- Index(es):
Relevant Pages
|