diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-08-16 11:35:49 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-08-16 11:35:49 +0200 |
commit | fa324f9bedcc8f05421f729e49ebd0494aeb8765 (patch) | |
tree | bfcf98b5f48f1d0629f09a4765a4f51736d851d7 /toplevel | |
parent | 5f7463e1ad99f530e078ecbc600347328d603bb4 (diff) | |
parent | f1e1b7f735c8cd4a1f3cc52e7f9a7cdf1481ffe5 (diff) |
Efficiently generate the pretyping contexts.
We used to recompute all fresh named contexts for evars before this patch in
the push_rel_context_to_named_context function. This was incurring a linear
penalty and a memory explosion due to the reallocation of many arrays. Now, we
rather remember the context between evar creations by sharing it in the pretyping
environment.
This can be considered as a fix for bug #4964 even though we might do better.
Diffstat (limited to 'toplevel')
0 files changed, 0 insertions, 0 deletions