You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
midstack inline wrap and precice allocate pcs
this makes it so that doing
if err != nil {
return errs.Wrap(err)
}
should avoid double checking the err for nilness.
additionally, this stack allocates the buffer for
the pcs to put the callers into before heap allocating
the exact size necessary. this reduces the memory usage
an error with a small traceback by like 5x or more.
Add IsFunc function (#7)
* Add IsFunc function
* Swap causes check and increment
* Add only non-nil errors from Ungroup() to next
* Remove nil check in the beginning of IsFunc - not necessary
* Remove compare to self to avoid potential panics