Pair With Me: Rubocop Cop that Detects Duplicate Array Allocations
09-Oct-2018 1822
You might know rubocop as the linter that helps enforce your code styles, but did you know you can use it to make your code faster? In this post, we’ll look at static performance analysis and then at the end there’s a video of me live coding a PR that introduces a new performance cop to rubocop.
Pair With Me: Rubocop Cop that Detects Duplicate Array Allocations #ruby #rubydeveloper #rubyonrails #Rubocop #Detects #Duplicate #Array #Allocations #array https://rubyonrails.ba/link/pair-with-me-rubocop-cop-that-detects-duplicate-array-allocations