gotosocial/internal/typeutils
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
..
astointernal.go [bugfix] Ensure pending_approval set on statuses + status faves (#3415) 2024-10-11 15:21:45 +02:00
astointernal_test.go
converter.go
converter_test.go [bugfix] Fix incorrect reply shown in interaction request (#3344) 2024-09-24 17:28:46 +00:00
csv.go
defaulticons.go [feature] Add image descriptions for default avatar + header; don't allow editing default desc (#3473) 2024-10-21 14:04:50 +02:00
frontendtointernal.go
internal.go
internaltoas.go [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
internaltoas_test.go [chore] Don't cc Accept of likes to followers (#3417) 2024-10-11 15:22:05 +02:00
internaltofrontend.go [bugfix] sets the max value placeholders to MaxInt32 instead of MaxInt (#3517) 2024-11-05 22:16:06 +00:00
internaltofrontend_test.go [bugfix] sets the max value placeholders to MaxInt32 instead of MaxInt (#3517) 2024-11-05 22:16:06 +00:00
internaltorss.go
internaltorss_test.go
util.go [feature] Show info for pending replies, allow implicit accept of pending replies (#3322) 2024-09-23 14:42:19 +02:00
util_test.go
wrap.go
wrap_test.go