Conversation
0915830 to
b44249d
Compare
b44249d to
87edb33
Compare
modified: src/database.ts modified: src/store.ts modified: src/test/store.test.ts
|
This introduces a global cache. It's a welcome change that makes custom caches - a major source of bugs and complexity - unnecessary, but IMO it requires an interface rework. The key here is that a cache hit is so much cheaper than a cache miss that the user must be constantly aware of the cache contents to get good performance. The current interface is an attempt to make working with cache transparent, which makes it very easy to write code that performs poorly. Here are some examples:
Recommendations:
Other notes:
|
55a4dd0 to
77ace58
Compare
f0b16d8 to
7ee0a60
Compare
9965cbe to
aa73844
Compare
No description provided.