This involves extra allocation for the array, with an array header, indirection on write/read, and boxing of all primitives. We should be able to avoid that by assigning them to synthetic fields on the CaseObjectContext instead.
There are a bunch of other arrays on CaseR#CaseObjectContext that we could also try flattening out into fields on the enclosing object
ID: 258
Original Author: lihaoyi
This involves extra allocation for the array, with an array header, indirection on write/read, and boxing of all primitives. We should be able to avoid that by assigning them to synthetic fields on the
CaseObjectContext
instead.There are a bunch of other arrays on
CaseR#CaseObjectContext
that we could also try flattening out into fields on the enclosing object ID: 258 Original Author: lihaoyi