develooper Front page | perl.perl5.porters | Postings from February 2004

Re: op_seq (was: Freeing code)

Thread Previous | Thread Next
Nicholas Clark
February 27, 2004 06:46
Re: op_seq (was: Freeing code)
Message ID:
On Mon, Feb 23, 2004 at 05:26:17PM -0800, Stephen McCamant wrote:
> >>>>> "NC" == Nicholas Clark <> writes:

> NC> Which confuses me because then you report:

> Eh? It looks to me like this change will save 4 bytes per OP on
> platforms where OPs are 4-byte-aligned, by reducing BASEOP from 24
> bytes to 20. Assuming 32 bit pointers, this changes BASEOP from

I know now where my confusion came from. I saw a patch hunk adding U8s
which was actually functions (or macros) to access the structure.
The struct itself (and its changes) were in a patch hunk mutch later on.

Any reason not to convert all the op_flags and op_private elements to
bitfields in a struct, and remove a lot of anding with OPf_REF etc

Mmm. It looks like op_private is too overloaded for this to be useful.

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About