Small perfomance optimizations, cleanup #236
No reviewers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-sdk-committers
TrueCloudLab/storage-sdk-developers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
Labels
No labels
P0
P1
P2
P3
good first issue
pool
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#236
Loading…
Reference in a new issue
No description provided.
Delete branch "fyrchik/frostfs-sdk-go:sort-faster"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Total improvement:
meanIQRAgg
1453fb21ce
to917ceecc5d
917ceecc5d
to0ad31ef05f
0ad31ef05f
toccae4bcace
ccae4bcace
to1decccc542
1decccc542
toc4ff8a6cda
@ -118,1 +116,3 @@
w := make([]float64, 0, len(n))
func (n nodes) appendWeightsTo(wf weightFunc, w []float64) []float64 {
if cap(w) < len(n) {
w = make([]float64, 0, len(n))
The method's name is
appendWeightsTo
. Here you passw
, then just reallocatew
but you don't save previous values. We need to fix that?