MessagePack implementation for Rust / msgpack.org[Rust]
Use to_owned
instead of to_string
while converting ValueRef
into Value
.
This change improves ValueRef::to_owned()
method performance by approximately 10-20%.
Also after this commit it's cheaper to decode directly into ValueRef
with further converting to owned value rather than decoding directly into Value
.
ByteBuf
.BigEndianRead
trait to be implemented only for sized types.PositiveFixnum
marker to FixPos
.NegativeFixnum
marker to FixNeg
.FixedString
marker to FixStr
.FixedArray
marker to FixArray
.FixedMap
to FixMap
.