From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id CAA21737; Thu, 7 Feb 2002 02:15:32 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA22175 for ; Thu, 7 Feb 2002 02:15:32 +0100 (MET) Received: from mout03.kundenserver.de (mout03.kundenserver.de [195.20.224.218]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g171FVn26312 for ; Thu, 7 Feb 2002 02:15:31 +0100 (MET) Received: from [172.19.20.60] (helo=mrelayng0.kundenserver.de) by mout03.kundenserver.de with esmtp (Exim 2.12 #2) id 16Yd9u-0005NB-00; Thu, 7 Feb 2002 02:15:30 +0100 Received: from [80.129.100.1] (helo=ice.gerd-stolpmann.de) by mrelayng0.kundenserver.de with asmtp (Exim 3.22 #2) id 16Yd9t-000286-00; Thu, 07 Feb 2002 02:15:29 +0100 Received: from ice (gerd@localhost [127.0.0.1]) by ice.gerd-stolpmann.de (8.12.1/8.12.1) with ESMTP id g171FR1q000916; Thu, 7 Feb 2002 02:15:27 +0100 Date: Thu, 7 Feb 2002 02:15:27 +0100 From: Gerd Stolpmann To: Berke Durak Cc: caml-list@inria.fr Subject: Re: [Caml-list] Suggestion for Int32.rotate Message-ID: <20020207021527.C577@ice.gerd-stolpmann.de> References: <20020205000643.A31440@gogol.zorgol> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20020205000643.A31440@gogol.zorgol>; from berke@altern.org on Tue, Feb 05, 2002 at 00:06:43 +0100 X-Mailer: Balsa 1.2.1 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On 2002.02.05 00:06 Berke Durak wrote: > I.e. better support for int32's. I understand that the Caml team does > not want people to use int32's (or int64's) by default. However a lot > of coding/crypto stuff, deserving to be ported to Caml, works with > 32-bit ints and it would be good to be able to use them at full speed. > > For example, the MD5 routine used in Digest.string could be efficiently > rewritten in Caml. I have coded Blowfish and DES in Caml, and optimizing them is painful. I would not do it again. Interestingly, Blowfish is faster if it uses only int and not int32, although twice as many int operations are needed than int32 operations. Gerd -- ---------------------------------------------------------------------------- Gerd Stolpmann Telefon: +49 6151 997705 (privat) Viktoriastr. 45 64293 Darmstadt EMail: gerd@gerd-stolpmann.de Germany ---------------------------------------------------------------------------- ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr