performance and code size improvements

- Use default case for constructors with no explicit match.
- self-compile is 15s now
- code size is 60% smaller

code size and self compile time on par with the idris-built version
This commit is contained in:
2025-01-18 21:33:49 -08:00
parent f991ca0d52
commit e3ae301c9c
11 changed files with 371 additions and 10 deletions

View File

@@ -5,9 +5,12 @@
- [ ] review pattern matching. goal is to have a sane context on the other end. secondary goal - bring it closer to the paper.
- [x] redo code to determine base path
- [x] emit only one branch for default case when splitting inductives
- [ ] save/load results of processing a module
- [x] keep each module separate in context
- [x] search would include imported modules, collect ops into and from modules
- [x] search would include imported modules, collect ops into and from modules
- [x] serialize modules
- [ ] deserialize modules if up to date
- should I allow the idris cross module assignment hack?
- >>> sort out metas (maybe push them up to the main list)
- eventually we may want to support resuming halfway through a file