Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

Why Hashes Will Be Faster in Ruby 2.0

A session at GoRuCo 2012

The upcoming Ruby 2.0 release contains an interesting performance optimization you may not have heard of before: small Hashes are actually implemented as Arrays!

In this micro talk, I'll:

  • review the basic theory behind hash functions and hash tables,
  • show you the new internal data structures that Ruby 2.0 uses to save keys and values, and
  • present some performance data that proves this optimization exists and how much time it will actually save you.

Do you really need to know how Ruby works internally to be a Ruby devloper? Probably not. But looking "under the hood" is a lot of fun, and someday might help you use the language more competently.

About the speaker

This person is speaking at this event.
Pat Shaughnessy

Blogger, Rubyist, just published a new eBook: http://t.co/gD4VXVXk bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 2:45pm3:00pm EST

Date Sat 23rd June 2012

Short URL

lanyrd.com/swfqq

Official event site

goruco.com

View the schedule

Topics

See something wrong?

Report an issue with this session