Jemma Issroff quiere dar esta charla

Intro to Ruby Memoization

A few years ago, I was tracking down a gnarly performance spike. Overnight, a job that usually took minutes had spiked to take almost a full hour. The culprit? A misuse of ||= in an attempt to memoize a value.

What is memoization? When is it useful? When can we not use memoization? How can we memoize effectively in Ruby? We'll discuss all of these questions and more in this talk.

a 1 personas les gusta