rtomayko / tilt

Generic interface to multiple Ruby template engines
http://github.com/rtomayko/tilt
Other
1.95k stars 226 forks source link

Use UnboundMethod#bind_call on Ruby 2.7+ #380

Closed jeremyevans closed 1 year ago

jeremyevans commented 2 years ago

bind_call is faster than bind.call, because it doesn't allocate a Method object.