Tags: google/crubit
Tags
Make ir::Record lazily compute simple fields from proto view There are several bool and int64 values that were eagerly extracted from ir_rust_proto::RecordView. This CL makes ir::Record instead lazily extract them by holding onto the original proto. Right now, only fields that can be extracted infallibly are lazily extracted. Overall this should be a net win in terms of memory usage by reducing the size of the ir::Record struct, but I'm not sure by how much. PiperOrigin-RevId: 960019217