Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 1995 08:49:30 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        peter@jhome.DIALix.COM, wollman@lcs.mit.edu
Cc:        security@FreeBSD.org
Subject:   Re: cvs commit: CVSROOT log_accum.pl
Message-ID:  <199511132149.IAA08615@godzilla.zeta.org.au>

index | next in thread | raw e-mail

>> The order of cr_ngroups and cr_uid could be swapped making the whole 
>> thing 4 bytes smaller (assuming that I understand structure packing.. :-)

>Better to make the shorts into longs if you're going to change the
>structure.  shorts are slow.

Longs might be slow too.  Use [unsigned] ints.

I've seen reports that shorts (and chars?) are even slower (relatively)
on the P6.  I don't know why that would be - I would have thought that
movsx and movzx were near the top of the list of things to optimize
after the 486 optimized more important operations.

Bruce


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511132149.IAA08615>