On 6/5/06, Alexandre Leclerc <[EMAIL PROTECTED]> wrote:
The function AnsiIndexStr can be optimized because the Low() value of
an array that is not initialized will always give 0 and High() -1. So
the 'for' statement will be skiped. We save one 'if' check plus a
potentially useless Result assignation. What a deal!

(Should I send a patch to FPC?)


Their mailing lists are down until the end of the week.

Regards,
 Graeme.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to