Pike v8.1 release 6

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.