Notice how the highlighted region shrinks at each step. The algorithm never examines points outside the narrowing window. In a balanced tree with nnn points, this takes about log4(n)\log_4(n)log4(n) steps. For a million points, that's roughly 10 steps instead of a million comparisons.
Note: Don't post links in your comments
,这一点在WPS下载最新地址中也有详细论述
Мерц резко сменил риторику во время встречи в Китае09:25
const input = Stream.pull(source, transform1, transform2);