Hello Everybody!

Is it worth to re-code following part of a routine as pipeline? Or will it take 
2 days just to get 2 seconds advantage? (Well, the truth is, I have no idea how 
to code the inner loop.)

All variables contain positive integers.

   x = x2b(d2x(x))
   do k = 1 to c.0
      d=1
      do i = 1 to length(x)
         d = d*d // z
         if substr(x, i, 1) then d = c.k*d // z
      end i
      c.k = d
   end k
(... next step is a Pipe using stem c.)

Ciao.....Mike



________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.

Reply via email to