Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Compute map UIDs without copying all data to a MemoryStream. #14530
We can use MergedStream to create a single combined stream with all the input and pass this to the hash function. This saves copying all the data into a MemoryStream to achieve the same goal, which requires more memory and allocations.
Helps with #14178 by reducing allocations during loading, decreasing the peak memory reached when loading.