Pike v8.0 release 1738

Method Stdio.Buffer()->set_max_waste()


Method set_max_waste

void set_max_waste(float factor)

Description

Configure how much free space should be allowed, at most, as a factor of the current buffer size.

The default is 0.5, leaving at most half the buffer as waste.