HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

You pick the winners! Login and vote now.
Link 123262 thumbnail
User 111696 avatar

By bloid
via codegem.org
Published: Oct 06 2008 / 16:55

It seems that there is some misunderstanding about my previous post. The purpose was never for measuring C++ performance but for better understanding of how polymorphism is implemented in C++, and make people aware that those extra power is not come for free. This is why I choose trivial cases and disable compiler optimization. Trivial cases for make the time penalty observable, disabling compiler optimization for ensure that assembly code is generated from C++ source code directly so it could be easier for analysis. These time penalty actually may not be a problem in real life as a considerable part of the overhead will be eliminated by compiler optimization.
  • 8
  • 1
  • 1396
  • 1

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (1)