phuslu / lru

High performance LRU cache
MIT License
182 stars 6 forks source link

Update README.md #2

Closed izturn closed 6 months ago

phuslu commented 6 months ago

I think ttl is still 8 bytes, because old "ttl" is a int64 timestamp for absolute expires. Now it was been divided to two uint32, one is seconds level timestamp, another is original ttl for sliding cache.