Expensify / Bedrock

Rock solid distributed database specializing in active/active automatic failover and WAN replication
https://bedrockdb.com
GNU Lesser General Public License v3.0
1.1k stars 82 forks source link

Add SParseIntegerVector #1724

Closed flodnv closed 4 months ago

flodnv commented 4 months ago

Required for https://github.com/Expensify/Auth/pull/10895, tested there

melvin-bot[bot] commented 4 months ago

I see this code uses list. If your primary use case is just checking to see if an item exists in the list, perhaps set is a better choice, as it's much faster for random access. C++ has a variety of data structures available to choose from, so pick the best for your use case.