Skip to content

Instantly share code, notes, and snippets.

View DilwoarH's full-sized avatar
👨‍💻
Coding

Dilwoar Hussain DilwoarH

👨‍💻
Coding
View GitHub Profile
@tiagoamaro
tiagoamaro / hash_with_indifferent_access_benchmark.rb
Last active April 28, 2023 08:25
ActiveSupport's HashWithIndifferentAccess access benchmark vs common Ruby Hash
#####################
# Ruby Version: 2.1.6
#####################
# gem 'activesupport', '=3.2.22'
# gem 'activesupport', '=4.2.5'
require 'active_support/all'
require 'benchmark/ips'