1. 5
  1.  

  2. 1

    Another thing to be aware of when modernizing with string_view is that the constructor from const char * is linear in the length of the string.