Skip to content

MT skipahead perf and full SOBOL support

Kevin Mooney requested to merge Kevin.Mooney/openrng:main into main

Description

MT skipahead perf and full SOBOL support

MT19937 skip ahead performance has been improved. The MT19937 skip ahead polynomials are now cached for skip ahead values that are a power of 2. The skip ahead is factorised into a sum of powers of 2 and each skip ahead is applied to result in an equivalent skip ahead. This increases the resulting library size but the old method for generating the skip ahead polynomials on demand was too slow.

The SOBOL interface is now fully supported with the addition of custom polynomials and direction numbers.

Checklist

Please ensure:

Merge request reports