You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(improvement) cqltypes: Cache serial_size in VectorType to avoid repeated method dispatch
Cache subtype.serial_size() and the full vector serial_size() as class
attributes (_subtype_serial_size, _serial_size) during apply_parameters().
This eliminates per-call method dispatch overhead in serialize(),
deserialize(), and serial_size() hot paths.
serial_size() call: 99ns -> 46ns (2.2x faster)
Attribute access: 54ns -> 17ns (3.2x faster)
0 commit comments