Skip to content

Instantly share code, notes, and snippets.

@medikoo
Created April 20, 2015 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save medikoo/81cb787baf2cecbcbf16 to your computer and use it in GitHub Desktop.
Save medikoo/81cb787baf2cecbcbf16 to your computer and use it in GitHub Desktop.
var memoized = memoize(fuction (arg, options) {
...
}, { normalizer: function (args) {
return [args[0], args[1].opt1, args[1].opt2].join('\0');
} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment