| 個人檔案共享空间标题相片部落格清單 | 說明 |
|
2月7日 Release build helps the performance? Not very trueJust copy and test the following code in VC6, or VC2005. Check the performance in debug mode and release mode. What do you say?
long nSize = 200; char* pSource = (char *)malloc(nSize+1); char* pDest = (char *)malloc(nSize+1); memset(pSource, 'a', nSize); pSource[nSize] = '\0'; DWORD dwStart = GetTickCount(); printf("%d", dwEnd-dwStart); The above code is copied from one VCHelper's blog: fire_woods
Open your VC and try to figure out why
http://spaces.msn.com/eparg/blog/cns!59BFC22C0E7E1A76!533.entry 回應 (4)
引用通告此內容的引用通告是: http://eparg.spaces.live.com/blog/cns!59BFC22C0E7E1A76!533.trak 引述這則內容的部落格
|
|
|