From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22559 invoked by alias); 28 Dec 2008 20:56:31 -0000 Received: (qmail 22410 invoked by uid 48); 28 Dec 2008 20:55:11 -0000 Date: Sun, 28 Dec 2008 20:56:00 -0000 Message-ID: <20081228205511.22409.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/38654] Fortran I/O speedup In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-12/txt/msg02593.txt.bz2 ------- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-12-28 20:55 ------- Daniel, it can't hurt to look. Also, I have a format data hashing/caching patch in the works. This avoids re-parsing format strings if they have already been parsed once such as in a loop containing I/O statements. Preliminary results I am seeing about a 17% speedup on at least one test case. The patch is fairly straightforward, but I do need to find a Gnu-able hash function. I am using one out of wikipedia at the moment. I will post the patch as soon as I get it to a bug free state. Proof of principle is there for this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38654