Changes between Initial Version and Version 1 of Ticket #9870, comment 6
- Timestamp:
- Nov 26, 2010, 10:36:36 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9870, comment 6
initial v1 4 4 I haven't done any performance measurements yet, but I can't imagine a string comparison being as fast as an integer comparison, neither in Python code, nor in the database. 5 5 6 And the cache is all about speed, so I'd be ready to sacrifice a bit of clarity for speed. We do lack unit tests for the cache subsystem, so this should be improved as well. 7 6 8 > Right, I supposed we could somehow get easily a list of all the keys. But as it's not the case, then I think the trade-off between the proposed optimization and the loss of clarity is not in favor of the change. 7 9