Skip to content

rvalue ref / C-string upper #144

Description

@yakra

in mark_chopped_route_segments and mark_connected_route_segments
rvalue refs don't seems to help all that much (elsewhere, at least)

  • taskscale lct* (2<->3; 2A<->3A specifically),
    include 3A's diffs if rvalue refs actually help
    BTlab1lab1.5lab2lab3
    !no-0.0052no-0.1268
  • Where else is std::string upper(std::string str) still used?
    • Comment out the definition and see what breaks to find it fast. :)
    • Nah, just search. Very few occurrences.
    • Only Route ctor.
    • Did && help?
      BTlab1lab1.5lab2lab3
      !nonono-0.0152
    • Candidate to change over? Eh. Only 1.8s on BiggaTomato. But why not!
  • then try replacing entirely:
    set up the std::string, then upper its .data() in situ

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions