Closed
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.