Dummy Decoder Example (was Re: Parallel decoding lesson for you.)

Skybuck Flying skybuck2000 at hotmail.com
Wed Sep 23 05:26:07 EDT 2015


The example may be modified as much as needed.

For now my solution needs a little reading pad to avoid costly mods or 
branches or whatever.

I think this is a nice speedy solution, so code may be modified as follows:

const
MaxProcessorCount = 4;
var
// information stream, input
Stream : array[0..20+(MaxProcessorCount-1)] of integer; // add max processor 
count to create a safe "padding" for reading so no out of bounds/range check 
errors with arrays.

Bye,
  Sybuck.





More information about the Python-list mailing list