phuslu / lru

High performance LRU cache
MIT License
205 stars 8 forks source link

Update README.md #2

Closed izturn closed 10 months ago

phuslu commented 10 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.