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 [bugfix] relax missing preferred_username, instead using webfingered username (#3189) 2024-08-13 09:01:50 +00:00
converter.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
converter_test.go [bugfix] Fix incorrect reply shown in interaction request (#3344) 2024-09-24 17:28:46 +00:00
csv.go [chore] make csv export ordering determinate (#3318) 2024-09-18 10:23:28 +00:00
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 [feature/frontend] Add options to include Unlisted posts or hide all posts (#3272) 2024-09-09 18:07:25 +02:00
internal.go [feature] Process Reject of interaction via fedi API, put rejected statuses in the "sin bin" 😈 (#3271) 2024-09-10 12:34:49 +00:00
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 [chore]: Bump github.com/gorilla/feeds from 1.1.2 to 1.2.0 (#3035) 2024-06-24 09:04:27 +00:00
internaltorss_test.go [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
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 [bugfix] Use better plaintext representation of status for filtering (#3301) 2024-09-16 14:00:23 +02:00
wrap.go [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
wrap_test.go [bugfix] Fix incorrect json-ld @context serialization (#3243) 2024-08-26 19:17:45 +02:00