像 WinAmp 这样的媒体库是如何实现的?

发布于 2024-10-26 16:31:11 字数 221 浏览 4 评论 0原文

我想知道,因为访问时间很短,即使对于复杂的表达式 ((playcount = "0" OR lastplay <[1 年前]) AND rating != "1" AND rating != "2" AND filename不是“Midis & Modules”AND type =“0”),所以基本上它的行为就像从所有内容到文件名的映射,对吧?使用什么样的数据结构来获得如此快速的访问?

I wonder because the access times are quite short, even for complex expressions ((playcount = "0" OR lastplay < [1 year ago]) AND rating != "1" AND rating != "2" AND filename NOTHAS "Midis & Modules" AND type = "0") so basically it behaves like a map from everything to filename, right? What kind of data structure is utilized to get such a fast access?

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

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

发布评论

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

评论(1

诠释孤独 2024-11-02 16:31:11

像 SQLite 这样的关系数据库,在流行字段上有明确定义的索引,可以轻松处理它。

Relational database like SQLite, with well-defined indexes on popular fields will handle it easily.

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