On Mon, Nov 11, 2024 at 05:07:51PM +0000, Bertrand Drouvot wrote: > To handle the "what about the len check if the function is not inlined?", I > can't think about a good approach.
FWIW, my choice would be to not over-engineer things more than what's in v10 posted at [1], hence do something without the exception case where the size is less than 64b. We've proved that this would be better for the 8k block case that does the size_t based comparison anyway, without impacting the existing other cases with the pgstats entries. [1]: https://www.postgresql.org/message-id/Zy5LgNyHzOhnYTTy%40ip-10-97-1-34.eu-west-3.compute.internal -- Michael
signature.asc
Description: PGP signature