From: Ben Pfaff Date: Sat, 7 May 2011 20:02:34 +0000 (-0700) Subject: ext-array: Speed up with unlocked versions of I/O functions. X-Git-Tag: v0.7.9~312 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9cbda0449c8c50c2295e14737b875cc34751d55;p=pspp-builds.git ext-array: Speed up with unlocked versions of I/O functions. In my tests this reduced a 2.0 second run to only 1.5 seconds. Bug #33260. --- diff --git a/src/libpspp/ext-array.c b/src/libpspp/ext-array.c index b1eded3a..68bbe954 100644 --- a/src/libpspp/ext-array.c +++ b/src/libpspp/ext-array.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ #include "libpspp/temp-file.h" #include "gl/error.h" +#include "gl/unlocked-io.h" #include "gl/xalloc.h" #include "gettext.h"