summaryrefslogtreecommitdiff
path: root/gr-analog/python/analog/bindings/fastnoise_source_python.cc
Commit message (Collapse)AuthorAgeFilesLines
* analog/fastnoise: avoid modulo operation when picking indicesMarcus Müller2021-03-251-1/+1
| | | | | | | | | When the pool is power-of-2-sized, index generation can be done using a simple bitmask. Document this, add logging info. - use unsigned and fixed-length int where due - avoid expensive integer modulo operation when possible - extract power-of-two constexpr - don't clutter the logs for small pool sizes Signed-off-by: Marcus Müller <marcus@hostalia.de>
* pybind: add hash check to binding file creation (#3472)mormj2020-06-041-1/+9
|
* analog: add pybind11 bindingsJosh Morman2020-06-041-0/+54