Closed mabdi closed 4 years ago
During the profiling an argument, we add the constant to the set of samples. But for ByteString, we cant. If we do so, methods working with streams may alter the byte string and our set get invalidated (duplicate values in the set).
As a result, add a copy of the value to the set.
During the profiling an argument, we add the constant to the set of samples. But for ByteString, we cant. If we do so, methods working with streams may alter the byte string and our set get invalidated (duplicate values in the set).
As a result, add a copy of the value to the set.