TECH: STL / Heaps, etc. (was: [MUD-Dev] TECH DGN: a few mud server design questions (long))

shren shren at io.com
Thu Aug 9 04:06:30 CEST 2001


On Thu, 2 Aug 2001, Eli Stevens wrote:

> I love the standard template library.  Unabashedly.  ;) Of course,
> it helps that it is for my language of choice and that I like
> templates just a little too much (when templates are your only
> tool, everything looks like a nail :).  I think the STL is a Good
> Thing, but my practical/real world experience is limited.  Are
> there problems with the STL lurking under the surface?  One aspect
> that concerned me was that while it specifies the complexity of a
> given operation, you don't have any control over the coefficients
> involved.  Would it be a bad idea to rely on it too much?

I've used the STL in a bunch of different ways, and never had it
fail or do something unexpected.

And when it comes to speed, I was always told you should write your
code, then find the slowest part, then optimize that.  You could use
STL during initial development, then replace STL in places where
you're digging for speed.

--
  You can't be afraid of words that speak the truth!   - George Carlin

_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list