Type: Posts; User: oktronic
Search took 0.02 seconds.
December 1st, 2003, 03:10 AM
you guys are posting a little to fast for me,
Kevin there is a difference between bad design and bad "language" as you put it.
If you are writing a program for just yourself, then you don't have...
December 1st, 2003, 02:51 AM
He also said this:
It wasn't my intent to form an opinion for you, you didn't seem to know the history to STL so I pointed you in a direction.
And considering your statement was:
December 1st, 2003, 02:23 AM
when you design a program do you not think of its implementation?
A what does microsoft have to do with STL? They were the first to offer it before it became a standard and the code provided was...
December 1st, 2003, 02:09 AM
Excellent points mclark.
STL hasn't been around long. A drop in the bucket compared to the theories and applications of the containers it employs.
Which begs the questions, why would a programmer...
December 1st, 2003, 12:45 AM
I'd like to say first, that I really don't feel that this is going anywhere. I generally don't like to read a 2 page post to weed out a few points. In my opinion, the major problem...
November 30th, 2003, 03:28 AM
Just wanted to comment on a few points.
I have to disagree with this. Many of the people who have held opposition to STL have shown they understand it and have chosen to not use...
November 26th, 2003, 03:38 PM
Yeah, VC6 was horrible at doing templates, which is one of the reason alot of people avoided it. It has a very bad habit of getting all confused when you are using multiple templates,...
November 26th, 2003, 02:52 PM
I think you might find this interesting, I did a quick drop in and run of the code, as expected, due to VC6 there were a few errors, so I commented out the custom allocated list for the...
November 26th, 2003, 02:24 PM
I did specifically ask for it and thank you!
There are a few things I noticed that will make this a problem in VC6 so, if its ok with you, I'll modify the code a little to make it...
November 26th, 2003, 01:51 AM
This bothers me.
I don't recall making any bold statements. I told you that my class can perform as fast if not faster then vector, but I asked you to create your own and compare. I...
November 26th, 2003, 12:36 AM
Yes, I expected it to be slower since it does have more operations then vector does when both are pre-allocated.
I'm interested though, in you "pre-allocating" memory for your previous...
November 25th, 2003, 10:16 PM
The only thing you do by continuing to flame and by not reading the posts, or adding anything constructive or accurate to this thread, is undermine your own credibility.
I'll ask you again to either...
November 25th, 2003, 09:07 PM
I'm not going to get into another flame war, please act like an adult or move on, if you really require a detailed response to your flame, then let me know where you want it, but keep...
November 25th, 2003, 08:48 PM
I'm hoping you will do the benchmark yourself so you can see where optimization will come into play, but the stats are, using the same test except that I kicked up the count to 5 Million in the loop...
November 25th, 2003, 08:19 PM
I'll ask you to please keep your comments on subject. You will find a character debate will not lead you anywhere you want to go.
If you don't understand any of the material, then...
November 25th, 2003, 01:49 PM
I wasn't comparing it to a linked list.
I was comparing ptr + 50 to *tempptr.
Exactly, I was hoping Kevin picked that up, that's why I set that up for him since he didn't seem to understand....
November 25th, 2003, 03:53 AM
[QUOTE]Aarrrgghhhh.... It doesn't matter. I don't think you'll understand what I, Paul, AvDav, gstercken, OReubens are saying.... or anyone else for that matter. Oh well!
November 24th, 2003, 11:54 PM
Ok, we're going to need to take a step back here.
I'm talking on a system level and you're talking C++ semantics.
int* ptr = new int;
while this is "contiguous" relative to a C++...
November 24th, 2003, 08:37 PM
First for kevin:
Check out the STL code Vector in the include directory. You will find that it is indeed a linked list. But again, if you are defining a linked-list as only a dynamic, then yes and...
November 24th, 2003, 08:11 PM
Sorry you guys posted while I was posting, so I'll try to answer your questions.
My class can handle dynamic or static memory, contiguous or linked. More specifically, you can hand it any type...
November 24th, 2003, 07:05 PM
All there have reserve functions.
reserve for mine and STL and SetSize in CArray.
The object of the benchmark was to compare all three in the same situation and see how they held up. I'm pretty...
November 24th, 2003, 05:46 PM
Yes indeed, STL is inline so it's expanded by the compiler. There are various mods that will change that separate link instances based on class type which can minimize on the overhead.
November 21st, 2003, 10:32 PM
[QUOTE]Re: To STL or not to STL, that is the question...
Originally posted by darwen
This is his...
November 21st, 2003, 07:52 PM
Yes Paul, anything that doesn't exist inside the construct of a compiler is a external SDK. Again, pick up a book on compiler design then come and argue the semantics about it.
November 21st, 2003, 07:20 PM
The only thing that warrants an apology was the "big-boy" comment. While that expresses my opinion of this as childish, it doesn't belong in adult conversation. The rest were...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!