Don't think @memorize fit any case.
未关闭
- 主要语言
- JavaScript
- 星标
- 1k
- 派生
- 34
- PR 合并指标
- 30 天内没有已合并 PR
描述
I saw you use first argument as key of cache.
What if the first argument is an object, like this:
```js
const a = {};
const b = {c: {}}
String(a) //"[object Object]"
String(b) //"[object Object]"
```
Besides, can you provide any benchmark tests?
I don't think it fit any case.
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 @memorize 装饰器开始,复现 issue 中的对象键示例。检查现有的测试设置,然后为这些情况添加基准测试覆盖;当冲突行为和性能权衡得到处理或明确记录后,即可视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100