[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Non-G++ Programming Hints ...
From: "Chris January" <chris () atomice ! net>
Date: 2002-02-23 13:56:56
[Download RAW message or body]
> On Thursday 21 February 2002 18:30, Guillaume Laurent wrote:
> > On Thursday 21 February 2002 18:08, Rik Hemsley wrote:
> > > Agreed. I don't see why C-style arrays should be used except in the
> > > tightest code (image/audio processing.)
> >
> > No even then. Given how vectors are generally implemented, I'd be
surprised
> > if there was any measurable performance hit on modern compilers. Some
> > operations will actually even go faster, since more info is carried with
> > the arrays.
> But STL libraries are of very varying quality and are optimized for
general
> performance. You can always make a better datastructure youself. But
people
> who are not computer scientists or otherwise have studied datastructures
> should proberbly just stick with the libraries.
STL reduces development times on projects which require a large number of
different data structures by an order of magnitude... Few projects require
re-inventing the wheel.
Regards
Chris
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic