Implementers shouldn't need to jump through these hoops. When you find yourself needing to relax or bypass spec semantics just to achieve reasonable performance, that's a sign something is wrong with the spec itself. A well-designed streaming API should be efficient by default, not require each runtime to invent its own escape hatches.
siftDown(arr, n, largest); // 递归下沉
,这一点在Line官方版本下载中也有详细论述
ВсеПолитикаОбществоПроисшествияКонфликтыПреступность
(图源:长春高新 2021 年年度报告)