mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐎 made contains faster
This commit is contained in:
parent
872be4857f
commit
fb7f4b4051
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ public:
|
|||
}
|
||||
bool Contains(const std::string &name) const
|
||||
{
|
||||
return users.if_contains(name, [](const User &) {});
|
||||
return users.contains(name, users.hash(name));
|
||||
}
|
||||
|
||||
int_fast64_t GetBal(const std::string &name) const
|
||||
|
|
|
|||
Loading…
Reference in a new issue