-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Milestone
Description
This is a meta-issue to keep track of major performance problems (broadly construed) that may require API changes and hence are blocking a 1.0 release.
- type parameters on all term types and tuple as multi-term container make the compiler work harder than necessary (Speed creating formula #164, Performances 0.5 vs 0.6 #141)
- relatedly, a new anonymous function is created for every function term (Speed creating formula #164), fixed by FunctionTerm is dead, long live FunctionTerm #183
- also related:
fitis very slow for new formulas #220 (probably due to specializing on data column names in NamedTuples) - First-class support for sparse model matrix (dense always created first)
- Lots of allocations in
modelcolswhich aren't really necessary (can be done in-place) - First-class support for streaming data, for schema extraction and model matrix row-wise methods (would be mostly fixed by in-place
modelcols) - Lack of systematic performance benchmarking (https://github.com/matthewwardrop/formulaic suite might be a good place to start)
matthieugomez
Metadata
Metadata
Assignees
Labels
No labels