From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,91d0d8cd28bbb477 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Implementing an Ada compiler and libraries. References: <1178721451.073700.10730@y80g2000hsf.googlegroups.com> <464239b2_4@news.bluewin.ch> <20070510173440.6b5954ac@cube.tz.axivion.com> <87wszgocrj.fsf@ludovic-brenta.org> <46435866.9090301@obry.net> Date: Fri, 11 May 2007 12:09:16 +0200 Message-ID: <87fy63oenn.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:skD8ap3N8CfhW0dHf+VECPUPPCo= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Organization: Tele2 X-Trace: DXC=mc`m57AT>KRoPfY8k93I=V6`Y6aWje^YZMLf63RdJMOQ@WAS81_gI6VHXJD4`Mc:iTj50nm\iLDYT Xref: g2news1.google.com comp.lang.ada:15754 Date: 2007-05-11T12:09:16+02:00 List-Id: Pascal Obry writes: > Ludovic Brenta a écrit : >> That's what GNAT does, only it uses a simple checksum for performance >> reasons. Calculating the checksum and comparing it with the one in >> the library (.ali files in the case of GNAT) has to be faster than >> recompiling the file. > > No that's not a simple checksum since some time. It is now using md5. CRC32, by the looks of scng.adb (see Accumulate_Checksum). I do think that md5 would be overkill. -- Ludovic Brenta.