Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use efficient
String.starts_with
implementation
The existing implementation for `Compat.String.starts_with` needlessly makes a copy of the prefix. This patch instead uses the implementation of `String.starts_with` from recent versions of the OCaml standard library, which avoids the copy.
- Loading branch information