Open ooooooo-q opened 2 years ago
I used memory_profiler to check where rubyXL was using a lot of memory, and fixed it.
"@#{v[:accessor]}" generates two String objects, which can be expensive depending on the access frequency, so we memoized it.
"@#{v[:accessor]}"
I used memory_profiler to check where rubyXL was using a lot of memory, and fixed it.
"@#{v[:accessor]}"
generates two String objects, which can be expensive depending on the access frequency, so we memoized it.Result
rubyXL 3.4.20 (with Ruby 3.1.0)
memoize
"@#{v[:accessor]}"