The LoadFixes Patch is no longer relevant for BT 1.9.1 as is actually slows down the loading process.
The ParseJson function actually has now the same try-catch logic as this patch and will only call StripHBSCommentsFromJSON() when needed.
In my testing I got an overall processing time of an unpatched StripHBSCommentsFromJSON() of 70ms, which is low enough to be ignored. (loading base game + loading a save file)
The function itself could be improved (using a instanced precompiled regex and a better regex itself), but considering the overall time wasted there is not worth it.
The LoadFixes Patch is no longer relevant for BT 1.9.1 as is actually slows down the loading process.
The ParseJson function actually has now the same try-catch logic as this patch and will only call StripHBSCommentsFromJSON() when needed.
In my testing I got an overall processing time of an unpatched StripHBSCommentsFromJSON() of 70ms, which is low enough to be ignored. (loading base game + loading a save file)
The function itself could be improved (using a instanced precompiled regex and a better regex itself), but considering the overall time wasted there is not worth it.