Skip to content

Add read!#83

Merged
Sbozzolo merged 3 commits intomainfrom
gb/read!
Aug 2, 2024
Merged

Add read!#83
Sbozzolo merged 3 commits intomainfrom
gb/read!

Conversation

@Sbozzolo
Copy link
Copy Markdown
Member

@Sbozzolo Sbozzolo commented Jul 31, 2024

This commit adds a new in-place function read! to read data from files and uses this new method to reduce allocations in regridding.

Closes #81

@Sbozzolo Sbozzolo force-pushed the gb/read! branch 3 times, most recently from 85f4f9d to 103c460 Compare July 31, 2024 16:02
@Sbozzolo Sbozzolo requested review from AlexisRenchon and kmdeck July 31, 2024 16:09
This commit adds a new in-place function `read!` to read data from files and
uses this new method to reduce allocations in regridding.
It is a good idea to perform filesystem operations only with one process
@AlexisRenchon
Copy link
Copy Markdown
Member

maybe just squash the 3 commits?

@Sbozzolo
Copy link
Copy Markdown
Member Author

Sbozzolo commented Aug 2, 2024

maybe just squash the 3 commits?

They are implement logically distinct changes, so I think it's best to leave them separate

@Sbozzolo Sbozzolo merged commit 3fe59c1 into main Aug 2, 2024
@juliasloan25 juliasloan25 mentioned this pull request Oct 18, 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.

Add FileReader.read!

2 participants