Is your feature request related to a problem? Please describe.
Message IDs can be long, like ~1kB. They take up a lot of space in the database.
Describe the solution you'd like
For threading, message IDs are only used for full comparison. We can normalize them with a simple hash function to 32B, for example, and shorten the DB column. The threading algorithm would still work.
Migration is heavy as we need to rewrite existing data.
Describe alternatives you've considered
No response
Additional context
Is your feature request related to a problem? Please describe.
Message IDs can be long, like ~1kB. They take up a lot of space in the database.
Describe the solution you'd like
For threading, message IDs are only used for full comparison. We can normalize them with a simple hash function to 32B, for example, and shorten the DB column. The threading algorithm would still work.
Migration is heavy as we need to rewrite existing data.
Describe alternatives you've considered
No response
Additional context