Closed tirix closed 2 years ago
We can just return a reference to a slice, which allows the user to avoid the allocation overhead if they don't need it.
Reference sounds much better. @tirix agree?
Reference sounds much better. @tirix agree?
Indeed, this is changed in my last commit!
This
Grammar
API lists the possible type codes.Since a
TypeCode
is in fact au32
, we can simply return a boxed slice, rather than a boxed slice of references. This also aligns with the recent change in theparse_formula
API.