Skip to content

Conversation

@heathhenley
Copy link
Collaborator

Closes #29 (regression the binary check introduced).

I wasn't sure what the shape of Filec.t should be now - so as a first pass I left it but made the other changes suggested in #29.

@heathhenley heathhenley self-assigned this Jan 26, 2025
@heathhenley heathhenley requested a review from chshersh January 26, 2025 23:50
@chshersh chshersh added type: refactoring Improving the code quality w/o changing functionality component: performance Performance improvements labels Jan 27, 2025
Copy link
Owner

@chshersh chshersh left a comment

Choose a reason for hiding this comment

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

That pretty much implements exactly how I wanted it to be implemented!

I left only a couple of minor comments.

@heathhenley
Copy link
Collaborator Author

I think I addressed everything in (8df2944) - also removed some of the helper functions from the module now that the type is simpler.

Copy link
Owner

@chshersh chshersh left a comment

Choose a reason for hiding this comment

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

Nice simplification!

Noticed one last minor thing but overall looks great!

Copy link
Owner

@chshersh chshersh left a comment

Choose a reason for hiding this comment

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

Thanks again!

I'm glad the fixed turned out to be relatively simple and short 🙂

@chshersh chshersh merged commit 9c07624 into chshersh:main Jan 28, 2025
3 checks passed
@chshersh
Copy link
Owner

Nice fix! Just checked it and it works as expected 🔝 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: performance Performance improvements type: refactoring Improving the code quality w/o changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve performance of reading file system by reading file content even lazier

2 participants