Performance
For end users, the main performance recommendations are:
- Prefer
mul!over*to avoid allocations. - Preallocate with
allocate_in_domain(op)/allocate_in_codomain(op). - Use operator constructors with array inputs to preserve storage type (CPU vs GPU).
Developer-oriented performance internals (threading heuristics, storage traits, backend caveats) were moved to Custom Operators to keep this page concise.