diff options
author | aneporada <aneporada@ydb.tech> | 2023-07-13 12:54:02 +0300 |
---|---|---|
committer | aneporada <aneporada@ydb.tech> | 2023-07-13 12:54:02 +0300 |
commit | 6b539b3b1dc62f263202e7568e3532fa4c6f8db8 (patch) | |
tree | 25c2212447550d31b36c9bb2176dcff5dafc6d38 /library/cpp/getopt/print.cpp | |
parent | 3e821290327605ba1c4ad4a9cf2ce3b19acb8139 (diff) | |
download | ydb-6b539b3b1dc62f263202e7568e3532fa4c6f8db8.tar.gz |
Pass data for deserealization by rvalue reference
This way we can:
1) reduce memory usage - serialized data chunks can be freed immediately after being read
2) support zero-copy deserialisation: resulting unboxed values can hold and own references to serialised memory regions (this is especially helpful for arrow blocks)
Diffstat (limited to 'library/cpp/getopt/print.cpp')
0 files changed, 0 insertions, 0 deletions