`to_curie()` is _very_ slow. It is frequently used (e.g. `tidy_sparql()`). Look into using a trie structure for search instead of `stringr::str_replace_all()` with the length-sorted list of URI-prefix pairs.
to_curie()is very slow. It is frequently used (e.g.tidy_sparql()).Look into using a trie structure for search instead of
stringr::str_replace_all()with the length-sorted list of URI-prefix pairs.