gotosocial/internal/federation/dereferencing
kim e3dfd88893 [performance] bump codeberg.org/gruf/go-kv to v2 (#4341)
updates our codeberg.org/gruf/go-kv log key-value formatting library to latest version, which comes with some maaaaaaajor speed boosts in the form of:
- very minimal reflect.Value{} usage
- caching prepared formatting functions per type

~~still a work-in-progress until i make a release tag on the go-kv repository, which itself is waiting on published benchmark results in the README and finishing writing some code comments~~

benchmarks so far show this to be ~3x faster than the "fmt" stdlib package on average, when run across a wide variety (106 different types) of test cases, while still creating more visually friendly log output and actually recursing down nested struct ptrs

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4341
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2025-07-29 09:23:20 +02:00
..
account.go [feature] Support incoming avatar/header descriptions (#4275) 2025-06-19 15:10:41 +02:00
account_test.go [feature] Support incoming avatar/header descriptions (#4275) 2025-06-19 15:10:41 +02:00
announce.go [chore] migration to update statuses.thread_id to be notnull (#4160) 2025-05-26 15:33:42 +02:00
authenticate.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
collection.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
dereferencer.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
dereferencer_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
emoji.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
emoji_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
finger.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
handshake.go [chore/security] refactor AuthenticateFederatedRequest() to handle account deref + suspension checks (#2371) 2023-11-21 11:35:30 +01:00
instance.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
instance_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
media.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
status.go [bugfix] fix status.Local sometimes being nil (#4285) 2025-06-21 12:03:35 +02:00
status_permitted.go [chore] Deprecate with_approval, always (client API), approvalRequired, always (fedi API) (#4173) 2025-05-13 14:48:11 +00:00
status_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
thread.go [performance] bump codeberg.org/gruf/go-kv to v2 (#4341) 2025-07-29 09:23:20 +02:00
util.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00