[Bro-Dev] #437: Unify tables/set/vectors
Bro Tracker
bro at tracker.icir.org
Tue Apr 19 17:05:44 PDT 2011
#437: Unify tables/set/vectors
----------------------+--------------------
Reporter: robin | Owner:
Type: Task | Status: new
Priority: Normal | Milestone: Bro1.7
Component: Bro | Version:
Keywords: language |
----------------------+--------------------
Internally, tables/sets/vectors/records are all handled separately at many
locations inside the interpreter (tables and sets sometimes are handled
together, and sometimes aren't). I believe we should be able to unify much
of that code in some form, like by moving more into a parent class
`CompositeType`.
I'd like to see most of these `if ( is-it-type-A ) … if ( is-it-type-B )
…` go away.
That would also make it much easier to implement a real list type.
--
Ticket URL: <http://tracker.icir.org/bro/ticket/437>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list