int max = arr[0];
Detection is via allocating a slice of zeroed memory, in our case a gigabyte, and then once per minute going through to ensure they're actually all zeroes. Magic!
,这一点在爱思助手下载最新版本中也有详细论述
Before diving into API design, it's worth asking: what is a stream?
// console.log(spanner.next(100)); // 输出1(正确)