Hacker News
- Why Ruby's attr_accessor is faster than getters and setters https://www.omniref.com/ruby/2.2.0/files/method.h#annotation=4081781&line=47 8 comments
- Why attr_accessor is 3x faster than getters and setters, and 8x faster than define_method https://www.omniref.com/ruby/2.2.0/files/method.h?#annotation=4081781&line=47 4 comments ruby
Linking pages
Would you like to stay up to date with Ruby? Checkout Ruby
Weekly.
Related searches:
Search whole site: site:www.omniref.com
Search title: Why Ruby's attr_accessor is faster than getters and setters
See how to search.