mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Use json::emplace to avoid some extra calls to operator[]
This commit is contained in:
parent
c8f2d52d91
commit
d4d1009b5c
4 changed files with 12 additions and 12 deletions
|
@ -122,4 +122,8 @@ event zeek_init()
|
|||
print to_json(ta3);
|
||||
print to_json(ta4);
|
||||
print to_json(ta5, T);
|
||||
|
||||
# Opaque
|
||||
local o1: opaque of topk = topk_init(5);
|
||||
print to_json(o1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue