develooper Front page | perl.perl5.porters | Postings from December 2000

Re: [8095] HP-UX 11.00 / cc / 64bitint & 64bitall / perlio

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
December 15, 2000 14:52
Subject:
Re: [8095] HP-UX 11.00 / cc / 64bitint & 64bitall / perlio
Message ID:
20001215225212.B42229@plum.flirble.org
On Wed, Dec 13, 2000 at 02:01:37PM +0100, H . Merijn Brand wrote:
> I've been experimenting with -Duse64bit and -Duse64bitall on HP-UX 11.00. After
> some fight with libdb-3.0 (perl/64/HP-UX wants it to be shared ELF 64 bit which
> in turn requires libpthread in libswanted (patch to hints/hpux.sh included)). I
> managed to build two working bleadperls. Below are the results from the Dutch
> jury. What strikes me is that the times are *slower* for all tests in 64bit
> mode than in 32 bit mode.

> -Duse64bit: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> u=0.74  s=0.48  cu=60.28  cs=12.48  scripts=272  tests=14347

> -Duse64all: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> u=0.84  s=0.59  cu=61.87  cs=12.79  scripts=272  tests=14347

> *Default*   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

> u=0.73  s=0.44  cu=42.5  cs=9.99  scripts=275  tests=15931

What's going to happen is that some sick person is going to suggest that
they'd like 64 bit UVs so that they can deal with large file offsets and
complicated device numbers, but 32 bit IVs for fast integer arithmetic.
(and still dropping back to NVs when needed)
Without going any slower than current for numbers in the IV range.

And then they're going to ask *me* to do it, because I'm about to say:

I think it would be possible.

Well, it'll cost yer :-)

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About