airbnb/polyglot.js — pull request #19 by kurtpeters (2014-11-12 21:40:49+00:00)
Title: introducing more efficent interpolation by removing the options iteratio...

Might be easier to leverage the replace function argument to read from the options argument instead of iterating over every property in the object. Could be more efficient since new regular expressions aren't generated for each valid key.