TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Persistence, façades and Roslyn’s red-green trees

44 点作者 jasim超过 3 年前

4 条评论

andrewingram超过 3 年前
This kind of tree is being used by Rome in their Rust rewrite (<a href="https:&#x2F;&#x2F;rome.tools&#x2F;blog&#x2F;2021&#x2F;09&#x2F;21&#x2F;rome-will-be-rewritten-in-rust" rel="nofollow">https:&#x2F;&#x2F;rome.tools&#x2F;blog&#x2F;2021&#x2F;09&#x2F;21&#x2F;rome-will-be-rewritten-in...</a>).
pseudoramble超过 3 年前
This is cool. I&#x27;ve never done a production grade tree like this, but implementing a toy immutable AVL tree you bump into the issue of rebuilding subtrees when modifying a node deep in the tree. According to Eric&#x27;s notes, it seems that the red tree internally can be mutated when it needs to be edited.
mormegil超过 3 年前
(2012)
评论 #29703937 未加载
tester34超过 3 年前
I had opportunity to use Roslyn&#x27;s SDK APIs to build some tools that operated on full source code or uncompilable code parts<p>and it really feels as if that was written with tooling in mind, really impressive.