introduce mcache class for caching audio metadata
commitefd81f4f6be4e91225aa893787d4ede84b46ed5e
authorEric Wong <e@80x24.org>
Mon, 26 Dec 2016 23:04:57 +0000 (26 23:04 +0000)
committerEric Wong <e@80x24.org>
Mon, 26 Dec 2016 23:10:53 +0000 (26 23:10 +0000)
treeb0bccd43e292a08c538794b5ee85d289eeb1e538
parent53c3abbbb222e3ab84c565498b8461009a3059c0
introduce mcache class for caching audio metadata

We often waste cycles rerunning commands we don't need
to run frequently.  Introduce a short term cache for
these.
lib/dtas/mcache.rb [new file with mode: 0644]
test/test_mcache.rb [new file with mode: 0644]