Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(ast): faster
Comment::is_jsdoc
(#7905)
Small optimization. Replace string slice + `starts_with` (at least 3 x bounds checks + 2 x UTF8 character boundary checks) with a single byte read (1 x bounds check).
- Loading branch information