gotosocial/internal/federation
kim e3c2b790fd
[performance] minimise log field allocations (#3529)
* when appending log field only do so by minimal amount

* move slice utils to separate package to fix import cycle, add GrowJust() and AppendJust() functions

* fix GrowJust() not returning slice of same length

* improved xslices tests

* make AppendJust() test check for slice contents, fix AppendJust() final copying behaviour

* add a +1 with field growth to try minimise allocation for log 'msg' field
2024-11-11 15:45:19 +00:00
..
dereferencing [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
federatingdb [bugfix] Check interaction policies properly on incoming Likes (#3416) 2024-10-11 15:21:56 +02:00
authenticate.go
clock.go
commonbehavior.go
federatingactor.go
federatingactor_test.go
federatingprotocol.go [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
federatingprotocol_test.go
federator.go
federator_test.go
gone.go
transport.go