Bug 429 - Tag bitfields instead of what we have now
Summary: Tag bitfields instead of what we have now
Status: ASSIGNED
Alias: None
Product: BpmDj - old linux tools
Classification: Unclassified
Component: selector (show other bugs)
Version: 3.0
Hardware: PC Linux
: Future enhancement
Assignee: Werner Van Belle
URL:
: 759 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-24 06:59 CEST by Werner Van Belle
Modified: 2009-11-22 21:53 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 3 Werner Van Belle 2009-11-22 21:53:26 CET
*** Bug 759 has been marked as a duplicate of this bug. ***
Comment 2 Werner Van Belle 2009-01-01 20:04:11 CET
This has not been fixed at all. We still work with a pointer to tags.
Comment 1 Werner Van Belle 2007-10-27 18:24:58 CEST
If we have 256 different tags for all songs then we need 32 bytes per song to store this information if we would use a bit pattern. 

At the moment we store each tag as a pointer to tags (which are of type unsigned2). So if we have 1.5 tags per song we get 11 bytes per song.

If we have 20000 songs this change would result in 410kB extra memory. This memory must be accessed when scanning for songs so the question is whether this would indeed go faster. Probably not, since we have now very few checks for each song.
Description Werner Van Belle 2005-07-24 06:59:01 CEST