TBX: 0.7.6, lazy loading for subcorpora and partitions
Currently TXM opens every subcorpus and partition at startu
This behavior:
- takes some time to complete (may take a long time on a portal, preventing fast portal startup or restart)
- uses memory, even if the subcorpus or the partition is not used in the current session (this may prevent users to work on a corpus in low memory configurations even if the machine is able to work on the corpus)
Solution:
- for each command using a subcorpus, if the subcorpus is opened do the usual work, else open the subcorpus then do the usual work
- for each command using a partition, if the partition is opened do the usual work, else open the partition then do the usual work
(from redmine: issue id 978, created on 2014/08/22 by Serge Heiden)
- Relations:
- relates #1756
- relates #2684
- relates #2685 (closed)