tokio-rs / mini-redis

Incomplete Redis client and server implementation using Tokio - for learning purposes only
MIT License
3.94k stars 464 forks source link

Using BTreeSet instead of BTreemap #120

Open robatipoor opened 1 year ago

robatipoor commented 1 year ago

Isn't it better to use BTreeSet<(Instant,String)> here ?

Darksonn commented 1 year ago

That would work too, yes.