On Tue, Oct 20, 2015 at 9:31 AM, Marek Olšák <mar...@gmail.com> wrote:

> On Tue, Oct 20, 2015 at 6:25 PM, Nanley Chery <nanleych...@gmail.com>
> wrote:
> >
> >
> > On Tue, Oct 20, 2015 at 8:57 AM, Marek Olšák <mar...@gmail.com> wrote:
> >>
> >> On Tue, Oct 20, 2015 at 12:44 AM, Nanley Chery <nanleych...@gmail.com>
> >> wrote:
> >> > From: Nanley Chery <nanley.g.ch...@intel.com>
> >> >
> >> > Avoid the function call overhead for this one-liner.
> >>
> >> Can you measure the overhead? If not, there is no reason for this
> change.
> >>
> >
> > The .text size does decrease by 48 bytes:
> >          text       data         bss           dec         hex filename
> > 5190616  209856   27712 5428184  52d3d8 lib/i965_dri.so (before)
> > 5190568  209856   27712 5428136  52d3a8 lib/i965_dri.so (after)
> >
> > Is this sufficient? If so, I can add the snippet above to the git
> comment.
>
> I don't think so. :)
>
>
:) Okay. I suppose that the function isn't called often enough to warrant
the loss of encapsulation.

Thanks,
Nanley


> Marek
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to