-
database64128 authored
* Avoid allocating tintError twice Passing the type-asserted tintError value as an error causes a second allocation. Since the helper method is only for tintError values, change the signature to specify the concrete type to elide the second allocation. * added `tint.Err` benchmark --------- Co-authored-by:
lmittmann <lmittmann@users.noreply.github.com>
database64128 authored* Avoid allocating tintError twice Passing the type-asserted tintError value as an error causes a second allocation. Since the helper method is only for tintError values, change the signature to specify the concrete type to elide the second allocation. * added `tint.Err` benchmark --------- Co-authored-by:
lmittmann <lmittmann@users.noreply.github.com>