.NET 元数据中的排序表是什么?

发布于 2024-09-14 00:02:58 字数 172 浏览 2 评论 0原文

在 #~stream 中有一个 64 位的排序表向量。但是什么决定了表格是否已排序呢?我在官方文档中唯一能找到的是,16个元数据表必须按主键或辅助键排序并列出它们。既然这可以通过规范确定,为什么还要为此设置一个位向量呢?如果是这种情况,那么该字段是否只是一个与前面的有效位向量进行 AND 掩码的常量?

提前致谢!

In the #~stream there is a 64-bit vector of sorted tables. But what makes a table sorted or not? The only thing that I can find in the official documentation is that 16 metadata tables must be sorted by either primary key or secondary key and lists them. Why even have a bit vector for this since this can determine by specification? And if that's the case, is this field then just a constant that is AND-mask with the preceeding Valid bit-vector?

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小嗷兮 2024-09-21 00:02:58

它没有说。对我来说唯一有意义的是,它表明与向量中的某个位相对应的表实际上已排序。第22章只说“某些表需要排序”,留出足够的空间允许其他表(将来可能添加)进行选择性排序。

It doesn't say. The only thing that makes sense to me is that it indicates that the table corresponding with a bit in the vector is in fact sorted. Chapter 22 only says "certain tables are required to be sorted", leaving enough room to allow other tables, perhaps added in the future, to be optionally sorted.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文