2003/10/28 bitmap

(also bit map)

When I first heard this term, it would strictly refer to saving storage space or sometimes to search techniques. Nowadays, it is much more likely that the usage is related to graphics creation or display.


Hate these ads?


To my mind though, a bit map is truly a one to one mapping of conditions to individual bits. For example, to store information about whether 8 items are "in stock", a one byte field, with each bit mapped for a specific item, is sufficient. When you need multiple bits (let's say 3 bits per item), I'd call that a bit field, not a bit map. However, my opinions on that are no longer the majority way of thinking, which is why bit maps and graphics (which will require multiple bits to determine color of just one pixel) are now so related.

An interesting bit mapped search technique involves hashing text and setting bits for words that COULD be in a certain paragraph or section. If the bit corresponding to the desired word is 0, then there is no need to examine the actual text. If it is set, the word could be present, and the text is then read to do the final check.

Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them.

I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.




Comments


Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments

If you want a picture to show with your comment, go get a Gravatar


ad


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!





pavatar.jpg
More:












Change Congress