Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Trim non-ASCII characters #44

Merged
merged 1 commit into from
Jul 18, 2020
Merged

Trim non-ASCII characters #44

merged 1 commit into from
Jul 18, 2020

Conversation

pocke
Copy link
Owner

@pocke pocke commented Jul 18, 2020

Because rbs is very slow with non-ASCII characters.

Benchmark

rbs -rlogger -rpathname -rmutex_m -Isig -Iassets/sig validate

before: 23.97s
after: 15.88s

1.5x faster 😮


ref: ruby/rbs#327

@pocke pocke merged commit 554ff14 into master Jul 18, 2020
@pocke pocke deleted the trim-non-ascii branch July 18, 2020 16:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant