Robert Mosolgo

Optimizing GraphQL-Ruby

Soon, graphql-ruby 1.5.0 will be released. Query execution will be ~70% faster than 1.3.0!

GraphQL Query as a State Machine

State machines are applied to a wide variety of programming problems. I found it useful to think of a GraphQL query as a state machine.

Hash#key? vs Hash#[]

I read that Hash#key? was slower than Hash#[] and it made me sad because, shouldn’t Hash#key? generally require less work?

Finding a Browser-Ready File for Sprockets

I like using Sprockets, but sometimes it’s hard to find a file to include in the asset pipeline. Here are some methods I use to find browser-ready JavaScript files.