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

Regionmarkers - Xuri, please just benchmark two ways, see notes #192

Closed
wants to merge 5 commits into from
Closed

Regionmarkers - Xuri, please just benchmark two ways, see notes #192

wants to merge 5 commits into from

Conversation

OldFoolAgain
Copy link
Contributor

This is really nothing more then adding a switch for turning off console writing (on save),
and removing region markers from the save files.
Also code as been adapted to the auto syntax.
This was a branch right before I started work on binary threaded saves (well, binary to the thread, text to the disk)

Xuri, this should not be merged. Can you please benchmark this timewise on your large saves?

Also, can you go to regions.cpp, at the top, and comment out this: #define SAVE_CONSOLE (around line 16).
Then run again. That elimiantes the console writing on the region saves, just to get a feel of how much Console time is costing.

Thank you as always.

This changes all routine calls that wanted a specific type of stream ifstream/ofstream to the generic istream/ostream.  So you can use stringstream, or other derived types.
Modernizes the way LoadResource and SaveResource works in regions.

Added a missing forward declare in MultiMul.h
… just reinitialize the entire vector, based on the default values, and then just update the values that are in the file.
@OldFoolAgain OldFoolAgain deleted the regionmarkers branch August 30, 2023 13:02
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.

1 participant