Skip to content

Conversation

@isoos
Copy link
Collaborator

@isoos isoos commented Dec 6, 2024

  • Shaves off couple of seconds locally on the index loading (~5-7%).
  • The method first generated multiple spaces in place of non-[a-z0-9] characters, then coalesced those into a single space. With the updated regular expression it does the same in a single operation.

@isoos isoos requested review from jonasfj and sigurdm December 6, 2024 13:38
@isoos isoos merged commit 1fee9d5 into dart-lang:master Dec 6, 2024
32 checks passed
@isoos isoos deleted the simpler-normalize branch December 6, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants