gvansickle / ucg

UniversalCodeGrep (ucg) is an extremely fast grep-like tool specialized for searching large bodies of source code.

Home Page:https://gvansickle.github.io/ucg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change std::string -> std::string_view where applicable.

gvansickle opened this issue · comments

I'm seeing a lot of places where std:string_view would work vs. std::string, reducing allocations in the process. E.g. MatchList::Print().