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

Factorio: skip a bunch of file IO #2444

Merged
merged 2 commits into from
Nov 10, 2023
Merged

Factorio: skip a bunch of file IO #2444

merged 2 commits into from
Nov 10, 2023

Conversation

Berserker66
Copy link
Member

What is this fixing or adding?

In a lot of cases, Factorio would write data to file first, then attach that file into zip. It now directly attaches the data to the zip and encapsulation was used to allow earlier GC in places (rendered templates especially)

How was this tested?

loaded the resulting file into Factorio

@ThePhar ThePhar added the is: refactor/cleanup Improvements to code/output readability or organizization. label Nov 10, 2023
@Berserker66 Berserker66 merged commit ac77666 into main Nov 10, 2023
21 checks passed
@Berserker66 Berserker66 deleted the factorio_skip_io branch November 10, 2023 21:02
FlySniper pushed a commit to FlySniper/Archipelago that referenced this pull request Nov 14, 2023
In a lot of cases, Factorio would write data to file first, then attach that file into zip. It now directly attaches the data to the zip and encapsulation was used to allow earlier GC in places (rendered templates especially).
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
In a lot of cases, Factorio would write data to file first, then attach that file into zip. It now directly attaches the data to the zip and encapsulation was used to allow earlier GC in places (rendered templates especially).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: refactor/cleanup Improvements to code/output readability or organizization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants