Skip to content

Instantly share code, notes, and snippets.

View rayning0's full-sized avatar
🤪

Raymond Gan rayning0

🤪
View GitHub Profile
@dabit
dabit / hash_table.rb
Last active May 16, 2023 16:57
Code example for my blogpost Hash lookup in Ruby, why is it so fast?
require 'benchmark'
#
# Code example for my blogpost
#
# Hash lookup in Ruby, why is it so fast?
#
#
# Struct used to store Hash Entries