paper-trail-gem--paper_trail/lib/paper_trail/events
Sergey Tokarenko cf17bc47a6 Lower the memory allocations
It prevents the repeating hashes creation during the calculation of `object` and `object_changes`.

The real-life case, discovered with a help of `memory_profiler` gem:
1. It saves `~35Mb` per bulk of 100 typical objects like `User`;
2. It saves `~875Mb` per Sidekiq process full of bulk jobs like P1,
   under default concurrency 25.
2019-03-14 14:27:18 -04:00
..
base.rb Lower the memory allocations 2019-03-14 14:27:18 -04:00
create.rb Lower the memory allocations 2019-03-14 14:27:18 -04:00
destroy.rb Docs: Changelog entry for #1177 2019-01-02 19:00:22 -05:00
update.rb Lower the memory allocations 2019-03-14 14:27:18 -04:00