Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

perf: remove im crate #536

Merged
merged 2 commits into from
Oct 10, 2024
Merged

perf: remove im crate #536

merged 2 commits into from
Oct 10, 2024

Conversation

arendjr
Copy link
Contributor

@arendjr arendjr commented Oct 9, 2024

Gives rougly a 25-30% performance improvement on Biome's Grit benchmarks.

Heads-up: This changes a signature in api.rs. It looks like it should be easy enough for you to adapt, but let me know if you prefer me to revert to im there.

There's a bunch of .iter() => as usize changes that were unfortunately necessary due to ambiguities.

Would be great if 0.4 of the crates can be released after merging this: #498

Greptile Summary

This is an auto-generated summary

API usage limit has reached your account's monthly budget. API requests will be rejected.

@morgante
Copy link
Contributor

morgante commented Oct 9, 2024

Thanks, I've long wanted to remove this and it should be easy enough to adapt internally too.

@arendjr arendjr marked this pull request as ready for review October 10, 2024 06:39
@arendjr arendjr requested a review from a team as a code owner October 10, 2024 06:39
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

23 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@morgante morgante merged commit 38b1ca2 into getgrit:main Oct 10, 2024
7 checks passed
This was referenced Oct 10, 2024
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