Closed MoSal closed 1 year ago
But the proposed solution requires using StringStorage, if I'm not mistaken, which is not ideal.
Are you trying to simply slice the input string instead? This is incorrect.
But the proposed solution requires using StringStorage, if I'm not mistaken, which is not ideal.
Are you trying to simply slice the input string instead? This is incorrect.
Yes. I just took a deeper look (the normalization code) and I understand the reasoning behind the API now.
Minimal example from versions 0.15 and smaller:
Attribute::value_range
removal is the issue here.This relates to #88. But the proposed solution requires using
StringStorage
, if I'm not mistaken, which is not ideal.My use-case for example is a deriving/deserialisation framework. All users will have to use
StringStorage
fields if they want zero-copy (unless a layer of indirection likerkyv::Archive
is added, which for me would be an overkill).