Skip to content

Commit

Permalink
Improve ConfigNode load/save perf (#88)
Browse files Browse the repository at this point in the history
* Rewrite PreFormatConfig to iterate through strings as little as possible.

* Improve logging, add @siimav's parallel processing bit (seems to be strictly slower even for 1m+ rows, tho)

* Patch writing, too, for a slight improvement in perf

* Fix a lingering issue with trailing braces

* Patch on startup, not after MM. Skipping keys will only happen after MM, but they're really just there for sfs loading, can't trust what's in gamedatabase enough to skip parsing there.

* Update readme and Settings

* Big improvements to save perf by not writing lines / flushing / using a puny buffer.

* missed a newline
  • Loading branch information
NathanKell authored and gotmachine committed Jan 30, 2023
1 parent 9143397 commit 9266aed
Showing 1 changed file with 126 additions and 101 deletions.
Loading

0 comments on commit 9266aed

Please sign in to comment.