mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-04-17 11:46:27 +02:00
* sdk/trace: use slices.Grow() to avoid excessive runtime.growslice() * go1.20 compat * update go.mod/sum * Update CHANGELOG.md * Revert "update go.mod/sum" This reverts commit 1e4fcfa86cb3c42a3ff113df419e16f9a02b3687. * inline slices.Grow as ensureAttributesCapacity * fix comment * add bench * fix inlining * Apply suggestions from code review Co-authored-by: Robert Pająk <pellared@hotmail.com> Co-authored-by: Damien Mathieu <42@dmathieu.com> * add ReportAllocs * add benchmark variations with lower limit * bugfix: we always want to set cap, just the value is a min() * lint --------- Co-authored-by: Robert Pająk <pellared@hotmail.com> Co-authored-by: Damien Mathieu <42@dmathieu.com>