-
Notifications
You must be signed in to change notification settings - Fork 0
CAT 050
unurgunite edited this page Jul 11, 2026
·
3 revisions
Severity:
warning| Confidence:high| Auto-fix: ❌
Fiber.new → spawn — Use spawn instead of Fiber.new + .resume for simpler and more idiomatic concurrency.
fiber = Fiber.new { do_work }
fiber.resumeTip
This rule can significantly improve performance in hot code paths.
Note
See bench results at bench/cat-050/