1. 09 Aug, 2020 1 commit
  2. 06 Aug, 2020 1 commit
  3. 25 Jul, 2020 2 commits
  4. 17 Jul, 2020 3 commits
  5. 14 Jul, 2020 3 commits
  6. 06 Jul, 2020 5 commits
    • Adam P. Goucher's avatar
      Merge branch 'hypertree' into 'master' · 89a66810
      Adam P. Goucher authored
      Some refactors to hypertree and RuleMapper
      
      See merge request !14
      89a66810
    • Arthur O'Dwyer's avatar
      Refactor RuleMapper and getMapper. · cd8f594e
      Arthur O'Dwyer authored
      Don't return raw owning pointers; use std::unique_ptr instead.
      (And should switch to C++14 `std::make_unique` as soon as possible.)
      
      Then, pass the mapper to functions like `rle2vec` by const reference,
      since they don't need ownership of it. This means we can't pass null
      anymore, so construct a temporary `IdentityMapper` in those cases.
      
      Const-qualify the member functions of `RuleMapper` so that we can
      call them on instances passed by const reference.
      cd8f594e
    • Arthur O'Dwyer's avatar
      hypertree: Simplify gc_traverse. · 185c046c
      Arthur O'Dwyer authored
      First I changed `gc_traverse<int>` into `gc_traverse<bool, bool>` to
      eliminate the bit-masking arithmetic; but then I realized that the
      first boolean parameter (which I'd called `UnmarkAll`) was invariably
      set to `true`, so it didn't need to be a parameter at all.
      
      Also, use `nullptr` instead of `0` in some places, and use ranged-for
      loops where possible, and const-qualify `total_bytes()`.
      185c046c
    • Arthur O'Dwyer's avatar
      hypertree: Use std::unique_ptr<kivtable> instead of raw pointers. · ffe236cf
      Arthur O'Dwyer authored
      unique_ptr does the calls to `delete` for us so that the destructor
      can be defaulted.
      
      There is a functional change here, maybe: `vector` probably destroys
      its contents front-to-back, whereas the old code was always manually
      destroying the kivtables back-to-front. I don't *think* this is
      supposed to be significant.
      ffe236cf
    • Arthur O'Dwyer's avatar
      46ef8db2
  7. 04 Jul, 2020 1 commit
  8. 03 Jul, 2020 4 commits
  9. 24 Jun, 2020 2 commits
  10. 20 Jun, 2020 3 commits
  11. 15 May, 2020 1 commit
  12. 11 May, 2020 1 commit
  13. 10 May, 2020 2 commits
  14. 07 May, 2020 1 commit
  15. 06 May, 2020 3 commits
  16. 24 Apr, 2020 2 commits
  17. 21 Apr, 2020 1 commit
  18. 18 Apr, 2020 1 commit
  19. 28 Jan, 2020 1 commit
  20. 25 Jan, 2020 2 commits