1. 01 Nov, 2013 1 commit
    • Andrei Paskevich's avatar
      Trans: do not memoize transformations of goals · 3cdc073f
      Andrei Paskevich authored
      the goal declarations are not shared and thus memoizing transformations
      on them is only interesting if we apply the same transformation on the
      same goal (which may happen when we launch several provers of the same
      family on the same goal). On the other hand, goal declarations are big
      (think WP) and numerous (think goal_split), and keeping them in memory
      is a bad idea.
      
      The same example from BWare can now be treated with 1/4 of memory:
      
      why3-replayer : full memoization
      106.81user 7.86system 1:59.32elapsed 96%CPU (0avgtext+0avgdata 1656908maxresident)k
      
      why3-replayer : no memoization on goals (this commit)
      74.14user 4.24system 1:24.93elapsed 92%CPU (0avgtext+0avgdata 429376maxresident)k
      
      why3-replayer : no memoization at all
      217.78user 6.25system 3:43.56elapsed 100%CPU (0avgtext+0avgdata 615204maxresident)k
      
      One side effect of this commit is that polymorphism encoding
      transformations are likely to be memoized only for a short time.
      The transformations that select the type instances to discriminate
      and the types to preserve in encoding are full-task-dependent and
      therefore are not memoized anymore. Thus, as soon the the task that
      contains all the selection metas is GCed, the rest of the chain
      will go, too, and Why3 will have to re-monomorphize the same decls.
      We'll see if this is a problem in practice.
      3cdc073f
  2. 28 Oct, 2013 1 commit
  3. 22 Oct, 2013 1 commit
  4. 16 Oct, 2013 1 commit
  5. 28 Sep, 2013 1 commit
  6. 23 Sep, 2013 1 commit
  7. 23 Aug, 2013 1 commit
  8. 03 Aug, 2013 1 commit
  9. 13 Mar, 2013 1 commit
  10. 06 Mar, 2013 1 commit
  11. 05 Feb, 2013 1 commit
  12. 29 Jan, 2013 1 commit
  13. 21 Jan, 2013 1 commit
  14. 24 Dec, 2012 1 commit
  15. 28 Nov, 2012 1 commit
  16. 13 Nov, 2012 1 commit
  17. 10 Nov, 2012 1 commit
  18. 30 Oct, 2012 3 commits
  19. 29 Oct, 2012 2 commits
  20. 27 Oct, 2012 1 commit
  21. 26 Oct, 2012 1 commit
  22. 21 Oct, 2012 6 commits
  23. 20 Oct, 2012 2 commits
  24. 15 Oct, 2012 1 commit
  25. 18 Sep, 2012 1 commit
  26. 11 Sep, 2012 1 commit
  27. 10 Sep, 2012 1 commit
  28. 08 Sep, 2012 1 commit
  29. 27 Aug, 2012 3 commits