summaryrefslogtreecommitdiff
path: root/gr-analog/lib/fastnoise_source_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* analog/fastnoise: avoid modulo operation when picking indicesMarcus Müller2021-03-251-1/+2
| | | | | | | | | 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>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-031-8/+8
|
* Add `override` for common virtual function overridesThomas Habets2020-11-031-1/+1
| | | | | | | | | | Mostly done with: ``` find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}' ``` Then I removed an incorrect `work` that this found.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-26/+26
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-311-0/+3
|
* analog: replace gengen with C++ templatesAndrej Rode2018-08-251-0/+64