pulibrary / lib_jobs

Enterprise Services batch processing tasks. Rails 7 Ruby 3.1.0
4 stars 0 forks source link

Use encode! rather than encode to modify string in place #715

Closed sandbergja closed 4 months ago

sandbergja commented 4 months ago

This causes us to allocate slightly less memory. These strings are not retained for very long, but since this method is called so many times, it does result in more work for the garbage collector.

part of #695