Click here to Skip to main content
14,695,532 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: MFC vs STL performance test Pin
Alexander Fedorov19-Oct-13 6:15
MemberAlexander Fedorov19-Oct-13 6:15 
GeneralRe: MFC vs STL performance test Pin
xenotron19-Oct-13 6:31
Memberxenotron19-Oct-13 6:31 
GeneralRe: MFC vs STL performance test Pin
Richard MacCutchan19-Oct-13 7:21
mveRichard MacCutchan19-Oct-13 7:21 
AnswerRe: MFC vs STL performance test Pin
Aescleal22-Oct-13 0:58
MemberAescleal22-Oct-13 0:58 
GeneralRe: MFC vs STL performance test Pin
Alexander Fedorov22-Oct-13 3:05
MemberAlexander Fedorov22-Oct-13 3:05 
GeneralRe: MFC vs STL performance test Pin
Aescleal22-Oct-13 5:44
MemberAescleal22-Oct-13 5:44 
GeneralRe: MFC vs STL performance test Pin
Alexander Fedorov22-Oct-13 6:32
MemberAlexander Fedorov22-Oct-13 6:32 
Answerstd::map too slow Pin
bkelly1310-Nov-13 17:08
Memberbkelly1310-Nov-13 17:08 
I tried using std::map in an application that handles telemetry data. When it was not working I tried stepping into a simple call to fetch data from the map. After 100+ calls without the data I concluded the problem had been found. When the map was replaced with a simple array, the application ran with a very low CPU load.

The std::map is easy to use and a great way to get the program fundamentals right while trying to ignore the data storage problem. If speed is needed, a general and generic problem that can handle any type of data will be inherently much slower.

My conclusion: the template libraries are really cool and easy to use, but very inefficient.
Thanks for your time
If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/

GeneralRe: std::map too slow Pin
Albert Holguin14-Nov-13 11:02
professionalAlbert Holguin14-Nov-13 11:02 
GeneralRe: std::map too slow Pin
Aescleal15-Nov-13 12:07
MemberAescleal15-Nov-13 12:07 
GeneralRe: std::map too slow Pin
Albert Holguin15-Nov-13 12:32
professionalAlbert Holguin15-Nov-13 12:32 
QuestionWhy calling sort() crashes? Pin
Kumar Anitesh15-Oct-13 23:38
MemberKumar Anitesh15-Oct-13 23:38 
AnswerRe: Why calling sort() crashes? Pin
Richard MacCutchan16-Oct-13 0:06
mveRichard MacCutchan16-Oct-13 0:06 
AnswerRe: Why calling sort() crashes? Pin
Theo Buys9-Sep-14 3:46
MemberTheo Buys9-Sep-14 3:46 
Questionstd::string name.copy(...) Pin
bkelly132-Oct-13 13:02
Memberbkelly132-Oct-13 13:02 
AnswerRe: std::string name.copy(...) Pin
Richard MacCutchan2-Oct-13 22:24
mveRichard MacCutchan2-Oct-13 22:24 
GeneralRe: std::string name.copy(...) Pin
bkelly134-Oct-13 8:19
Memberbkelly134-Oct-13 8:19 
GeneralRe: std::string name.copy(...) Pin
Richard MacCutchan4-Oct-13 9:08
mveRichard MacCutchan4-Oct-13 9:08 
QuestionCreate iwebbrowser2 in protected mode Pin
narasingubhanu25-Sep-13 21:31
Membernarasingubhanu25-Sep-13 21:31 
AnswerRe: Create iwebbrowser2 in protected mode Pin
Richard MacCutchan25-Sep-13 22:31
mveRichard MacCutchan25-Sep-13 22:31 
GeneralRe: Create iwebbrowser2 in protected mode Pin
narasingubhanu26-Sep-13 1:23
Membernarasingubhanu26-Sep-13 1:23 
GeneralRe: Create iwebbrowser2 in protected mode Pin
Richard MacCutchan26-Sep-13 1:29
mveRichard MacCutchan26-Sep-13 1:29 
Questiononcreate function Pin
DongDong18-Sep-13 5:55
MemberDongDong18-Sep-13 5:55 
AnswerRe: oncreate function Pin
Richard MacCutchan8-Sep-13 7:54
mveRichard MacCutchan8-Sep-13 7:54 
QuestionGroup Box won't group Pin
bkelly1322-Aug-13 12:52
Memberbkelly1322-Aug-13 12:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.