From e9cbda0449c8c50c2295e14737b875cc34751d55 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 7 May 2011 13:02:34 -0700 Subject: [PATCH] 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. --- src/libpspp/ext-array.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.30.2