[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC, PATCH] shrink struct vectorlike_header #2

From: Dmitry Antipov
Subject: Re: [RFC, PATCH] shrink struct vectorlike_header #2
Date: Thu, 08 Nov 2012 17:31:11 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 11/08/2012 09:25 AM, Paul Eggert wrote:

But better yet would be to omit the casts entirely.
This might let GCC do more optimizations safely.  That is,
change struct Lisp_Vector to be something like this:

struct Lisp_Vector
      struct vectorlike_header header;
           Lisp_Object contents[1];
           struct Lisp_Vector *next;
        } u;

This is the most clean way, but

Replace all current uses of 'contents'
with 'u.contents',

is it worth doing such a massive change just to avoid one little glitch?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]