Read more

We now have our own memoization gem "Memoized"

Henning Koch
February 27, 2019Software engineer at makandra GmbH

We forked trusty memoizer Show archive.org snapshot to make two changes:

  1. Memoized methods now preserve their arity Show archive.org snapshot . Previously all memoized methods had an arity of -1.
  2. Memoized methods are now faster at runtime. This will only be noticable if you call a memoized methods many times in the same request.
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

We published our fork as a new gem named memoized Show archive.org snapshot .

memoized is API-compatible to memoizer, you just need to include Memoized instead of Memoizer:

class A
  include Memoized

  memoize def hello
    'hello!'
  end
end
Posted by Henning Koch to makandra dev (2019-02-27 08:37)