On Wed, 10 Jan 2007 22:30:40 +0100
"Christophe Jaillet" <[EMAIL PROTECTED]> wrote:

> II/ Idea of implementation :
> ==========================
> 2.1) define a macro and macroize the code (AVOID_BM_SHIFT ???) everywhere
> needed
> 
> 2.2) add test like : if (BM_MIN_LENGTH == BM_BLOCK_SIZE) ... where needed
> and let the compiler determine dead code and optimize it away
> 
> 2.3) add a new inlined function (int cli_can_avoid_bm_shift() ???) that
> perform this test
> 
> 2.4) any other idea ?
> 
> 
> Personally, I think that 2.3 is the best approach.

Hi Christophe,

2.2 looks best to me.

Sorry for the late answer.

-- 
   oo    .....         Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Fri Feb  9 00:53:57 CET 2007
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to