[devel] [PATCH 0/3] optimize rpmsetcmp()

Dmitry V. Levin ldv на altlinux.org
Вт Дек 7 17:50:44 UTC 2010


On Sun, Dec 05, 2010 at 03:21:15AM +0300, Alexey Tourbin wrote:
> There are other reasons, such as keeping the code comprehensible (at the
> expense of some runtime penalties).  I think the concept of bitv[] is
> crucial for understanding the code, and it helps to keep the code clean
> and self-evident.  Replacing bitv[] with bitmap might be a major trade-off
> for the sake of performance.  Or might not.

Storing one byte per bit is crucial for understanding the code?
What a nonsense!


-- 
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 198 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20101207/c1275528/attachment.bin>


Подробная информация о списке рассылки Devel