meili-bors[bot] e93d36d5b9
Merge #4313
4313: Fix document formatting performances r=Kerollmops a=ManyTheFish

reduce the formatted option list to the attributes that should be formatted,
instead of all the attributes to display.
The time to compute the `format` list scales with the number of fields to format;
cumulated with `map_leaf_values` that iterates over all the nested fields, it gives a quadratic complexity:
`d*f` where `d` is the total number of fields to display and `f` is the total number of fields to format.

Co-authored-by: ManyTheFish <many@meilisearch.com>
2024-01-11 14:19:44 +00:00
..
2023-11-13 13:38:36 +01:00
2023-11-28 14:26:31 +01:00
2024-01-11 14:19:44 +00:00
2023-06-14 13:30:52 +02:00
2024-01-02 15:19:30 +01:00
2023-12-20 17:48:09 +01:00
fmt
2023-03-30 23:37:26 +02:00
2023-12-20 17:16:45 +01:00
2023-11-23 14:11:38 +01:00
2023-11-13 13:38:36 +01:00
2023-12-14 16:08:41 +01:00
2023-11-13 13:36:39 +01:00