urlyy opened a new pull request, #2769:
URL: https://github.com/apache/fory/pull/2769
## Why?
`clone()/to_owned()` on `MetaString/MetaStringBytes` is expensive.
## What does this PR do?
1. use `Rc` in `MetaStringReaderResolver` and use `Arc` in
`MetaStringWriterResolver` to remove clone()/to_owned().
> use `Arc` is because WriterResolver uses TypeInfo stored in TypeResolver.,
and use `Rc` is because ReaderResolver is not.
## Related issues
close #2762
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]