| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Angleset: Change add behaviour to not run combine() | Andreas Grois | 2015-11-27 | 1 | -3/+15 |
| | | | | | | The most often used command for angleset in this tool is the add function. If at the end of every add the combine() function is being called, a lot of CPU time is wasted. Add now doesn't call combine(), and marks the angleset as dirty instead. All functions that require a clean angleset now check if it's dirty, and if yes call combine(). | ||||
| * | Add angle sets (disjoint ranges) - initial support | Andreas Grois | 2015-11-10 | 1 | -0/+188 |
| By adding a new angleset class, things get much easier to read. Also, the part of the previous commit that dealt with combining the individual ranges was kind of stupid. Things missing: o) functions to remove angle ranges from a set o) deferred add functions, that allow adding multiple ranges without calling the O(n²) function angleset::combine() in between. | |||||
