-
Methods like Enumerable.ToArray or structures like ImmutableArrayBuilder, StringBuilder internally use array resizing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This was discussed multiple times before e.g. #38263 (comment) Unlike C/C++ allocators, .NET GC packs memory blocks next to each other. Chance that there is an adjacent free memory block available is very low. |
Beta Was this translation helpful? Give feedback.
This was discussed multiple times before e.g. #38263 (comment)
Unlike C/C++ allocators, .NET GC packs memory blocks next to each other. Chance that there is an adjacent free memory block available is very low.