# table operation in bro

**URL:** <https://community.zeek.org/t/table-operation-in-bro/217>\
**Category:** Zeek\
**Created:** [March 18, 2002, 4:13am UTC](https://community.zeek.org/t/table-operation-in-bro/217 "2002-03-18T04:13:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vern](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/vern/32/630_2.png) [@Vern](https://community.zeek.org/u/Vern)\
**Post date:** [March 18, 2002, 4:13am UTC](https://community.zeek.org/t/table-operation-in-bro/217/1 "2002-03-18T04:13:58Z")

</div>

> How expensive (w.r.to time) is a table operation like:  
> [orig, resp] in distinct\_peers  
> in bro scripts ?

Cheap - a single hash table lookup.

&nbsp;&nbsp;&nbsp;&nbsp;Vern

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:36pm UTC](https://community.zeek.org/t/table-operation-in-bro/217/2 "2022-05-06T15:36:26Z")

</div>


