Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ruleguard/typematch: replace Split with Index to avoid allocs (#414)
We don't need to create `[]string` to compare the substring. This change reduces the amount of allocations when comparing named types via typematch package.
- Loading branch information