Serialization through util.inspect always occurs, regardless of debug setting
#2
Open
opened 7 years ago by joepie91
·
0 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
As reported here,
util.inspect
serialization occurs regardless of whether debugging is enabled, and this can cause memory usage issues with large objects.The debugging logic needs to be changed to use a custom formatter instead, so that the serialization logic is only executed when debugging is enabled.