Message-ID: <Pine.WNT.4.44.0311262023290.476-101000@petrel>
Date: 2003-11-26T21:27:44Z
From: Brian Ripley
Subject: Power (^) 10x slower in R since version 1.7.1... What next? [Windows platform]
In-Reply-To: <MABBLJDICACNFOLGIHJOIEPIDOAA.phgrosjean@sciviews.org>
You might like to test the enclosed. Drop the file into .../src/gnuwin32
and edit the following line in Makefile there
OBJS = $(SOURCES:.c=.o) e_pow.o
^^^^^^^^
Then re-make. This uses an existing solution, that from glibc (which MinGW
will not want to use for licence reasons). It's very fast and seems
as accurate.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595