1. 21 Aug, 2019 1 commit
  2. 20 Aug, 2019 3 commits
  3. 19 Aug, 2019 5 commits
  4. 16 Aug, 2019 9 commits
  5. 12 Aug, 2019 1 commit
    • Aurélien Campéas's avatar
      schema: simplify by throwing away the changeset core table · 2abc6ee09201
      Aurélien Campéas authored
      This brought difficulties: it was impossible to remove
      anything from there, for little benefits.
      
      Log has temporarily lost the ability to log cross-series
      but a few unions will bring this back later.
      
      Also we rename:
      
      * registry.seriename -> registry.seriesname
      * registry.table_name -> registry.tablename
      
      The `tsh.timeserie` namespace is renamed to `tsh.revision`.
      
      closes #54
      2abc6ee09201
  6. 22 Aug, 2019 1 commit
  7. 05 Aug, 2019 1 commit
  8. 19 Jul, 2019 1 commit
  9. 18 Jul, 2019 1 commit
  10. 16 Jul, 2019 3 commits
  11. 12 Jul, 2019 6 commits
    • Aurélien Campéas's avatar
      staircase: reorganise responsibilities of shiftedvdates and revision pruning from this input · cdcea2578efc
      Aurélien Campéas authored
      We want it the revision list to happen in `history`
      to allow tshistory_formula to use it at will
      (and in a different way).
      cdcea2578efc
    • Aurélien Campéas's avatar
      staircase: prune the needed history insertion dates using the value dates · d4ce6a27bc09
      Aurélien Campéas authored
      This can achieve a nice performance improvement (time and memory wise)
      since we can query less series.
      
      Performance implications:
      
      historycache:
      DELTA all value dates 0.5080251693725586
      DELTA 1 day  0.04896068572998047
      
      prune:
      DELTA all value dates 0.5207259654998779
      DELTA 1 day  0.03272509574890137
      
      
      We lose a bit on the commplete horizon but get nice benefits on the
      small one. We might want to rewrite the prune function for speed ...
      d4ce6a27bc09
    • Aurélien Campéas's avatar
      insertion_date: use the `_revision` method extracted from `history` · f8dac87d5c7e
      Aurélien Campéas authored
      Also move `_revision` to the private methods zone.
      f8dac87d5c7e
    • Aurélien Campéas's avatar
      history: extract revision computation · dd9f03124350
      Aurélien Campéas authored
      This opens the door to a new `revisions` parameter
      which allows to pass a precomputed revisions list.
      dd9f03124350
    • Aurélien Campéas's avatar
      staircase: use a cache of the history to speed up the computation · 35770d059ad9
      Aurélien Campéas authored
      We introduce a generic `historycache` providing
      `get` and `staircase` methods.
      
      The `historycache` object embeds the output of a call to `history` for
      further use.
      
      
      Performance implications:
      
      correctness:
      DELTA all value dates 1.174530267715454
      DELTA 1 day  0.05773115158081055
      
      historycache:
      DELTA all value dates 0.5080251693725586
      DELTA 1 day  0.04896068572998047
      
      On the whole horizon we get a nice speed up (> 100%) and even the one
      day horizon gets slightly faster. This is good.
      35770d059ad9
    • Aurélien Campéas's avatar
      staircase: make it simpler · 349c870faa73
      Aurélien Campéas authored
      We get the base dates from the current series value dates.
      For each of those we query one point, then concatenate
      the result.
      
      Conceptually much simpler to grasp.
      Bonus side effect: staircase discrepencies of formula vs alias
      extensions have disappeared.
      
      Performance implications:
      
      base:
      DELTA all value dates 0.9304628372192383
      DELTA 1 day  0.10948061943054199
      
      correctness:
      DELTA all value dates 1.174530267715454
      DELTA 1 day  0.05773115158081055
      
      So on the whole horizon we are a tad slower but there is an
      interesting speedup already in a well-bounded case. This is not bad.
      349c870faa73
  12. 11 Jul, 2019 3 commits
  13. 10 Jul, 2019 1 commit
  14. 09 Jul, 2019 1 commit
  15. 03 Jul, 2019 1 commit
  16. 13 Jun, 2019 2 commits