I started running pahole on stuff today and mesa had a bunch of low
hanging fruit all over the types, the main thing all of this
does is reduce the mesa context size considerably.

before:
/* size: 150024, cachelines: 2345, members: 114 */
after:
/* size: 146912, cachelines: 2296, members: 114 */

thats about 3k gone.

but I'm sure some of these are kinda pointless
micro-optimisation, but maybe give some points
on where we can focus some reductions,

gl_texture_attrib
gl_image_unit
being two of the scarier things I hit.

Dave.

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

Reply via email to