mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Don't include locations into serialization when cloning values.
This should save some memory, see BIT-1161.
This commit is contained in:
parent
2f6146aa55
commit
806851a21e
4 changed files with 8 additions and 2 deletions
5
CHANGES
5
CHANGES
|
@ -1,4 +1,9 @@
|
||||||
|
|
||||||
|
2.2-263 | 2014-03-30 20:19:05 +0200
|
||||||
|
|
||||||
|
* Don't include locations into serialization when cloning values.
|
||||||
|
(Robin Sommer)
|
||||||
|
|
||||||
2.2-262 | 2014-03-30 20:12:47 +0200
|
2.2-262 | 2014-03-30 20:12:47 +0200
|
||||||
|
|
||||||
* Refactor SerializationFormat::EndWrite and ChunkedIO::Chunk memory
|
* Refactor SerializationFormat::EndWrite and ChunkedIO::Chunk memory
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.2-262
|
2.2-263
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit f8273c9eb5db1168c21b298cd3af4f9b4b008717
|
Subproject commit f6308a0f7eb0bef8279fb1ed282474291633cdb9
|
|
@ -80,6 +80,7 @@ Val* Val::Clone() const
|
||||||
CloneSerializer ss(form);
|
CloneSerializer ss(form);
|
||||||
SerialInfo sinfo(&ss);
|
SerialInfo sinfo(&ss);
|
||||||
sinfo.cache = false;
|
sinfo.cache = false;
|
||||||
|
sinfo.include_locations = false;
|
||||||
|
|
||||||
if ( ! this->Serialize(&sinfo) )
|
if ( ! this->Serialize(&sinfo) )
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue