The Hacks of Life

Friday, June 15, 2007

list.size() is slow

›
Ever wonder how the STL list works in GCC? What? No? You haven't? Where's your sense of curiousity about the way your code works? ...
Thursday, June 14, 2007

Virtual Memory Dumping for Fun and Profit

›
We're trying to answer the question: why did X-Plane run out of memory? To answer that, we need to look at the contents of virtual memo...

Enum tags - C vs C++

›
So you're minding your own business when you come across a gem like this: typedef enum __MIDL___MIDL_itf_qnetwork_0082_0001 { AM_EXSEE...
Tuesday, June 12, 2007

Dyamic Cast is Slow but...

›
...stupid code is slower. In a performance tuning situation, sometimes you have to figure out: Is the problem that I'm not doing each op...
Monday, June 11, 2007

Cause and Effect

›
I have a tree-view (think like the tree of files in an Explorer or a Finder window). Since all of my rows are based on objects with integer...

Interfaces and Diamonds

›
I have a set of abstract interfaces that go something like this: class IPoint { public: virtual void SetLocation(const Point2& location)...
Friday, April 27, 2007

Getting Started with WinDbg

›
I discovered WinDbg about a year ago and have found it to be the most powerful and complete debugger available for Windows PCs. Unfortunatel...
‹
›
Home
View web version

Contributors

  • Benjamin Supnik
  • Chris
Powered by Blogger.