开发者

How is a media library like WinAmp's implemented?

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 N开发者_开发问答OTHAS "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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜