You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
1) using vector is inefficient since it's heap-allocated and has indirection
2) using string is inefficient for similar reasons
3) using static for supported schemes is inefficient because it involves atomics or mutex to ensure thread safety
4) using folly::StringPiece provides more ergonomic APIs for `contains` and `starts_with`
Reviewed By: hanidamlaj
Differential Revision: D74557531
fbshipit-source-id: 2364bdbe9cd5aa6b292ad66a4d2ab461f6f890b8
0 commit comments