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.
--
https://mail.python.org/mailman/listinfo/python-list