Peter Cai

  • About me
  • Salary data
  • Recipes
  • Ukraine
  • Coffee

Peter Cai

  • About me
  • Salary data
  • Recipes
  • Ukraine
  • Coffee

Peter Cai

  • About me
  • Salary data
  • Recipes
  • Ukraine
  • Coffee

Peter Cai

  • About me
  • Salary data
  • Recipes
  • Ukraine
  • Coffee
Home / 2017 / May
Software

Hash performance improvements in Ruby 2.4

May 12, 2017 | By pcai

Some corrections and clarifications from this week’s talk on hashes in Ruby 2.4. On converting hashval to index: I gave an example of using modulus on a hashval (which might be huge) to an index in an array (like `152`), so it can be inserted in a table. Ruby does not actually do modulus for […]

Continue Reading...
No comments yet

Recent Comments

  • Luke on Hey Engineers, Let's Stop Being Assholes?
  • Jorge on Why I Don't like CakePHP
  • John on Hey Engineers, Let's Stop Being Assholes?
  • Support Team on Why I Don't like CakePHP
  • Support Team on Why I Don't like CakePHP