Sign in
Feng Yuan (袁峰)
CLR, Performance, Debugging, Parallel Computing, WPF, XPS, GDI, GDI+, Printing (www.fengyuan.com)
Tags
C#
C++
CLR
CLRProfiler
GIS
IE9
Pages
Parallel Computing
Performance
Printing
SVG
Visio
Win32
XPS
XPS, Printing
Browse by Tags
MSDN Blogs
>
Feng Yuan (袁峰)
>
All Tags
>
c++
Tagged Content List
Blog Post:
Optimization Note (C++) 1: push, pop, call _chkstk
Feng Yuan
I was looking at assembly code trying to improve an important performance scenario when I found a strange call to _chkstk 011E100E push 10h 011E1010 pop eax 011E1011 call _chkstk (011E1810h) 011E1016 mov ecx,esp My understanding is that _chkstk call is generatesd by C++ compiler when there...
on
3 Apr 2011
Blog Post:
Source code for Windows Graphics Programming: Win32 GDI and DirectDraw
Feng Yuan
Source code for Windows Graphics Programming: Win32 GDI and DirectDraw used to be on http://safariexamples.informit.com/0130869856/ . But link has been broken for quite sometimes. I've received a few emails from readers who has lost the CD of the book. If you need the source code, here is it: www...
on
21 Mar 2007
Blog Post:
Anatomy of STL Vector: Data Size
Feng Yuan
In the last post, we discussed the cost of using STL vector to module size. Now let’s take a look at how STL vector manages its data. Dia2Dump (Source code available in Microsoft Visual Studio 8\Dia SDK\Samples\Dia2Dump directory) shows the following internal structure of vector<short:> ...
on
4 Mar 2007
Blog Post:
Anatomy of STL vector: Module Size
Feng Yuan
If you need a dynamic array in C++, a widely used class is the vector template class in STL. There are even books recommending replacement of plain C++ array with STL vector. This series is going to look at how STL vector is implemented and what is the cost associated with using STL vector. ...
on
4 Mar 2007
Page 1 of 1 (4 items)