Skip to content

Make IsTrivial() constant time - #1605

Open
roozbehp wants to merge 1 commit into
mainfrom
roozbehp-istrivial
Open

roozbehp wants to merge 1 commit into
mainfrom
roozbehp-istrivial

Conversation

@roozbehp

Copy link
Copy Markdown
Contributor

This is mathematically equivalent, and makes list-unicodeset.jsp result for [:L:] 39x faster, changing from 16s to 0.4s on my local benchmark. It also vastly reduces temporary memory allocations.

  • Approver: Feel free to merge on my behalf
    • rebase & merge one or more commits
    • squash & merge multiple commits into one

This is mathematically equivalent, and makes list-unicodeset.jsp result for
`[:L:]` 39x faster, changing from 16s to 0.4s on my local benchmark. It
also vastly reduces temporary memory allocations.

This branch has not been deployed

No deployments
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.

1 participant