I am looking at performance profiles of our uses of elpi (mostly generating definitions in the examples I am looking at) and it seems we are spending about a quarter to a third of the entire elpi execution time in UState.demote_global_univs
. Is there any way this call can be avoided? We have around upwards of 10k global universes in our files.
I've seen that already, there are two options:
@dropunivs!
(see what derive.elpi does).The former would be nice, but I don't have the time to even look into it before end of november.
Last updated: Oct 13 2024 at 01:02 UTC