You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/07/03 09:13:43 UTC
[GitHub] [incubator-kvrocks] mapleFU commented on issue #706: Enhancement: Too much `Slice::ToString()` when encoding the key
mapleFU commented on issue #706:
URL: https://github.com/apache/incubator-kvrocks/issues/706#issuecomment-1173043820
https://github.com/apache/incubator-kvrocks/pull/707 @PragmaTwice
This pr solve part of this problem. There are still some callings in `GetSlotNumFromKey`. Maybe cast `Slice` to `std::string_view`, and using it's `find` and `subslice` can solve this. But `string_view` is introduced in C++17. Other solvings may include some string libraries. So I left them there.
--
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: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org