moose icon indicating copy to clipboard operation
moose copied to clipboard

Decide what compiled operators look like

Open mortendahl opened this issue 3 years ago • 0 comments

Compiling an operator currently results in a Box<dyn Vec<C::Value>> -> C::Value, which unlike the older code base doesn't allow operations to do much compile-time checking (eg arity). Moreover, always creating a Box has some performance overhead that rustc seems unable to remove.

This issue is about deciding whether we want to use more typed objects to represent compiled operators, eg an enum.

mortendahl avatar Jun 22 '21 11:06 mortendahl