This is a small release that should address some of the slowness in Refurb. More speedups coming soon!
Speedup Refurb
There was a small bug in Refurb where it would reload all the checks for each file when it only needed to do it once at the beginning. After fixing this, running Refurb against itself is about 1 second (~10%) faster now. Your mileage my vary, but codebases with more files will benefit more from this fix.
Add --timing-stats
flag
This flag will dump a bunch of timing information to a JSON file for diagnosing speed issues. Read the docs for more info.
What's Changed
- fix(no_unnecessary_cast): fix typo in shallow by @ChaoticRoman in #278
Full Changelog: v1.19.0...v1.20.0