Hi! Do you know what is the most efficient way to replace (set/unset) a certain bit in a varying bit field (dynamic length), and what is the most efficient way to query the value of a certain bit in a varying bit field? Right now the easiest way seems to use substring function, but this function apparently will use a lot of expensive bit shifting. Is there any better way? Unfortunately the AND and OR operation require the bits have same length. Is there any way to AND or OR two bit string with different length? Is there any way to extend the length of a bit string to a specified length? Thank you. -- S P Arif Sahari Wibowo _____ _____ _____ _____ /____ /____/ /____/ /____ arifsaha@yahoo.com _____/ / / / _____/ http://www.arifsaha.com/
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера