-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
A-codegenArea: Code generationArea: Code generationI-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
We have two ways to codegen functional record update:
- Translate the supplied fields in place, translate the base to scratch, and copy over the delta.
- Translate the supplied fields to scratch, translate the base in place, and copy over the delta.
Currently we take approach (1). This is not as efficient as approach (2) in most cases, since the whole point of functional record update is usually to update a small number of fields. This would save a few memcpy
s that show up in I/O.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationI-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.