Фото: Владимир Вяткин / РИА Новости
connectwithmarve
,推荐阅读夫子获取更多信息
Subscribe to unlock this article
It is also necessary to emphasize that many optimizations are only possible in parts of the spec that are unobservable to user code. The alternative, like Bun "Direct Streams", is to intentionally diverge from the spec-defined observable behaviors. This means optimizations often feel "incomplete". They work in some scenarios but not in others, in some runtimes but not others, etc. Every such case adds to the overall unsustainable complexity of the Web streams approach which is why most runtime implementers rarely put significant effort into further improvements to their streams implementations once the conformance tests are passing.
“我们需要的是立足于实际又胸怀长远目标的实干,而不需要不甘寂寞、好高骛远的空想;我们需要的是一步一个脚印的实干精神,而不需要新官上任只烧三把火希图侥幸成功的投机心理;我们需要的是锲而不舍的韧劲,而不需要‘三天打鱼,两天晒网’的散漫。”