R9 is using HttpRequestMessage.Properties/Options in several cases and we have plans in #86281 to utilize it further. The property bag contains very few elements typically, so the internal dictionary can be substituted by linear lookup over a list of elements.
My recommendation would be to embed a few key-value pairs and allocate an Array over a threshold, like we do in TagList.
R9 is using
HttpRequestMessage.Properties/Optionsin several cases and we have plans in #86281 to utilize it further. The property bag contains very few elements typically, so the internal dictionary can be substituted by linear lookup over a list of elements.My recommendation would be to embed a few key-value pairs and allocate an Array over a threshold, like we do in
TagList.