Skip to content

refactor redis: do not copy additional_infos of geo points#1271

Open
mishasychev wants to merge 1 commit into
userver-framework:developfrom
mishasychev:feat/parse-reply-fixes
Open

refactor redis: do not copy additional_infos of geo points#1271
mishasychev wants to merge 1 commit into
userver-framework:developfrom
mishasychev:feat/parse-reply-fixes

Conversation

@mishasychev

Copy link
Copy Markdown
  • GeoPoint parsing no longer copies the additional_infos array (now taken by reference) and moves the member string out of the reply.
  • ExtractStringElem takes the already-fetched element by reference instead of re-looking it up via at()/GetArray() on every call.
  • Replaced std::stod/std::stoi with utils::FromString<> for stricter, exception-consistent numeric parsing of scores and timestamps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant