The MASM Forum

Miscellaneous => The Orphanage => Topic started by: daydreamer on March 15, 2020, 12:22:33 AM

Title: interesting benchmark ,virtual,direct,inline ...
Post by: daydreamer on March 15, 2020, 12:22:33 AM
http://assemblyrequired.crashworks.org/how-slow-are-virtual-functions-really/ (http://assemblyrequired.crashworks.org/how-slow-are-virtual-functions-really/)
Title: Re: interesting benchmark ,virtual,direct,inline ...
Post by: hutch-- on March 15, 2020, 11:54:28 AM
Interesting link. :thumbsup:
Title: Re: interesting benchmark ,virtual,direct,inline ...
Post by: daydreamer on March 15, 2020, 09:48:59 PM
Interesting link. :thumbsup:
I find it very interesting because of virtual COM calls in D3d,trying to reduce number of drawprimitive calls,by see how much of geometry could be put together into one TRIANGLESTRIP call
nowadays it is much pixelshaders instead

Title: Re: interesting benchmark ,virtual,direct,inline ...
Post by: LiaoMi on March 16, 2020, 07:55:58 AM
http://assemblyrequired.crashworks.org/how-slow-are-virtual-functions-really/ (http://assemblyrequired.crashworks.org/how-slow-are-virtual-functions-really/)

Hi daydreamer,

saved to the treasury of knowledge, thanks! Inline functions are always faster!  :thumbsup: