lean4-htt/src/Lean/Data
Marc Huisinga af5b47295f
feat: reduce server memory consumption (#11162)
This PR reduces the memory consumption of the language server (the
watchdog process in particular). In Mathlib, it reduces memory
consumption by about 1GB.

It also fixes two bugs in the call hierarchy:
- When an open file had import errors (e.g. from a transitive build
failure), the call hierarchy would not display any usages in that file.
Now we use the reference information from the .ilean instead.
- When a command would not set a parent declaration (e.g. `#check`), the
result was filtered from the call hierarchy. Now we display it as
`[anonymous]` instead.
2025-12-01 10:53:23 +00:00
..
Json refactor: String.foldl and String.isNat go through String.Slice (#11289) 2025-11-21 11:17:50 +00:00
Lsp feat: reduce server memory consumption (#11162) 2025-12-01 10:53:23 +00:00
NameMap fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
Xml refactor: String functions foldr, all, any, contains to go trough String.Slice (#11357) 2025-11-25 15:42:43 +00:00
Array.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
AssocList.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
DeclarationRange.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
EditDistance.lean chore: rename String.ValidPos to String.Pos (#11240) 2025-11-24 16:40:21 +00:00
Format.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
FuzzyMatching.lean refactor: move operations on String.Pos.Raw to the String.Pos.Raw namespace (#10735) 2025-10-18 12:12:55 +00:00
Json.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
JsonRpc.lean feat: revamp server logging (#10787) 2025-10-28 16:26:59 +00:00
KVMap.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
LBool.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
LOption.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Lsp.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Name.lean chore: expose more String.Slice functions on String (#11308) 2025-11-23 15:33:16 +00:00
NameMap.lean feat: basic premise selection algorithm based on MePo (#7844) 2025-09-23 06:40:22 +00:00
NameTrie.lean perf: shorten critical build path around String.Basic (#10614) 2025-09-29 19:45:21 +00:00
OpenDecl.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Options.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
PersistentArray.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
PersistentHashMap.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
PersistentHashSet.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
Position.lean refactor: do not use String.Iterator (#11127) 2025-11-11 11:46:58 +00:00
PrefixTree.lean perf: properly specialize through PrefixTree (#9681) 2025-08-02 13:59:56 +00:00
RArray.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
RBMap.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
RBTree.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
SMap.lean fix: move the monad argument for ForIn, ForIn', and ForM (#10204) 2025-11-25 12:20:37 +00:00
SSet.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Trie.lean refactor: move operations on String.Pos.Raw to the String.Pos.Raw namespace (#10735) 2025-10-18 12:12:55 +00:00
Xml.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00