mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐎🔥 writer was faster without thread_local
This commit is contained in:
parent
9c520d5e05
commit
3d8dc99874
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ const char *Bank::Save()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static thread_local FBE::bank_dom::GlobalFinalModel writer;
|
FBE::bank_dom::GlobalFinalModel writer;
|
||||||
writer.serialize(users_copy);
|
writer.serialize(users_copy);
|
||||||
if (!writer.verify())
|
if (!writer.verify())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue