"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const memoize = require("./memoize3.cjs");
var MAX_MEMOIZE_SIZE = 500;
function memoizeCapped(func) {
  var result = memoize.default(func, function(key) {
    if (cache.size === MAX_MEMOIZE_SIZE) {
      cache.clear();
    }
    return key;
  });
  var cache = result.cache;
  return result;
}
exports.default = memoizeCapped;
//# sourceMappingURL=_memoizeCapped3.cjs.map
