Commit Graph

4 Commits

Author SHA1 Message Date
Alex Vandiver
6a6e59f4d6 message: Merge unnecessary cache_transformer step.
Having a non-identity `cache_transformer` is no different from running
it on every row of the query_function.  Simplify understanding of the
codepath used in caching by merging the pieces of code.

(cherry picked from commit 547c8f895d)
2024-03-07 09:48:20 -08:00
Alex Vandiver
8b23b81f56 message_cache: Rename "to_dict" functions which deal with bytes.
(cherry picked from commit 548bb5362e)
2024-03-07 09:48:20 -08:00
Alex Vandiver
73116023a6 message_cache: Rename update_to_dict_cache to update_message_cache.
This better describes what it does.

(cherry picked from commit 96119e45b9)
2024-03-07 09:48:20 -08:00
Alex Vandiver
e15a175a42 message: Split MessageDict and friends into its own file.
(cherry picked from commit 93a071a1f8)
2024-03-07 09:48:20 -08:00