From: Eric Wong Date: 2015-12-04T02:37:28+00:00 Subject: [ruby-core:71825] Re: [Ruby trunk - Feature #11769] [Open] optimize case / when for `nil` tenderlove@ruby-lang.org wrote: > I've attached a patch that adds `nil` to the optimized case such that > the above code will use `opt_case_dispatch`. My patch defines `===` > on `nil`, then adds nil to the list of "optimizable literals". Cool. Might be worth it to do the same for `true` and `false`, too, since we have space for them.