Closed wduquette closed 4 years ago
This pull request revises the internals of the Value type. The string_rep is now contained within a OnceCell, to minimize the access costs on subsequent reads. Only the data_rep is now contained in a RefCell.
Value
string_rep
OnceCell
data_rep
RefCell
This pull request revises the internals of the
Value
type. Thestring_rep
is now contained within aOnceCell
, to minimize the access costs on subsequent reads. Only thedata_rep
is now contained in aRefCell
.