Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
debugger speed
Ceniza:
Heh, that "website on STL" is the site of the STL implementation used by GCC :)
Michael:
--- Quote from: Ceniza on January 04, 2006, 09:07:12 pm ---Heh, that "website on STL" is the site of the STL implementation used by GCC :)
--- End quote ---
To be honest, I was not aware of this :oops:. Anyway, I find it really helpful (especially when I was implementing a PriorityQueue (wrapper to a multimap) :)) with a lot of term definitions, examples, information and so on.
Michael
Ceniza:
PriorityQueue... std::priority_queue<> didn't suit your needs? :)
Michael:
--- Quote from: Ceniza on January 04, 2006, 09:19:53 pm ---PriorityQueue... std::priority_queue<> didn't suit your needs? :)
--- End quote ---
Unfortunately not :D. It was an exam for an advanced course in C++ meta-programming and distribute programming (one of the best course I have ever had, to be honest). The std::priority_queue<> did not fullfil the requirements (it would have been too easy :D). If I remember, indexes of the PriorityQueue were not unique. Therefore, I needed a multimap (with some modifications to fit the requirements). What it was very interesting and not so known was the problem related with elements of a same index :). Their order in the multimap is not fixed. SO, how e.g., would it possible to delete the older element if more than one element has the same index?
Michael
Game_Ender:
It is kind of useless for people talk about what they might think the bottlenecks in the code are and there solutions. Someone should go and profile the debugger so we know where most of the actual time in the debugger is being spent. Then we can start to talk about whether or not to use threads, or wxStringArrays, or Maps vs Vectors. Or it might be that most of the time is just spent piping the stdin and stdout and there is nothing really to be done in speeding it up, but oops, there I go speculating.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version