wined3d/device: Avoid repeated calculations of idx and shift in IWineD3DDeviceImpl_MarkStateDirty(). (resend)
Alexandre Julliard
julliard at winehq.org
Wed Mar 16 08:39:35 CDT 2011
Adam Martinson <amartinson at codeweavers.com> writes:
> ---
> dlls/wined3d/device.c | 17 ++++++++---------
> 1 files changed, 8 insertions(+), 9 deletions(-)
You still need to demonstrate that this is an improvement. Compilers are
pretty good nowadays, and doing such micro-optimizations at the source
level is usually futile.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list