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

Remove the gc call in write.jl #271

Merged
merged 1 commit into from
Sep 29, 2024
Merged

Conversation

TimG1964
Copy link
Contributor

This gc call was added in Windows only, apparently in response to issue #42.

The consequence was that writexlsx() was much slower, with 97% of time spent on gc (in my use case).

Deleting this line speeds up writexlsx() forty-fold and XLSX still passes all tests.

Not sure what, if any, downsides there might be in other use cases.

See this Discourse thread.

This gc call was added in Windows only, apparently in response to issue #42.

The consequence was that `writexlsx()` was much slower, with 97% of time spent on gc (in my use case).

Deleting this line speeds up `writexlsx()` forty-fold and XLSX still passes all tests.

Not sure what, if any, downsides there might be in other use cases.
@felipenoris
Copy link
Owner

Nice!
Somehow this failed on #270 and that's why I closed that PR without merging.
But maybe I did something wrong.
Let's merge this and see what happens.

@felipenoris felipenoris merged commit 39ffc15 into felipenoris:master Sep 29, 2024
22 checks passed
@TimG1964
Copy link
Contributor Author

Thank you!

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