Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13856

Re: Question about destructors

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date Wed, 08 Feb 2012 11:51:56 -0600
From Gareth Owen <gwowen@gmail.com>
Newsgroups comp.lang.c++
Subject Re: Question about destructors
References <ba1d69e7-bd02-4c9a-9ab0-1f674fb3bc56@do4g2000vbb.googlegroups.com> <xn0hu2h1h91v2i4002@news.astraweb.com> <f7b07275-5374-4d4e-a679-44d9eb4cd719@eb6g2000vbb.googlegroups.com> <xn0hu2k3n9605fz003@news.astraweb.com> <jgrnqu$d87$1@dont-email.me> <2115496.607.1328686761742.JavaMail.geo-discussion-forums@proa7> <9petprFlo4U4@mid.individual.net>
Date Wed, 08 Feb 2012 17:51:56 +0000
Message-ID <87ehu5ciwz.fsf@gmail.com> (permalink)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:ZUqkfBZbV22fcype8n6v5AoNA2Y=
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Lines 14
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-Vu8GtnaqIet02GbFTY6+/5ZQMa8D5q88IUdGDm4UPPkfIdOSTxjue6j49lzuSLc5+QRU4rvCh+X4k1/!+AdaPFoY1Ne023XBn3yyvtrgcsIQb/QMmKbyyrDo6wcV1fJQyAT1mBVAr5DNjEpn8TM=
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1887
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:13856

Show key headers only | View raw


Ian Collins <ian-news@hotmail.com> writes:
> On 02/ 8/12 08:39 PM, 88888 Dihedral wrote:
>> But for digital images and videos of tens of millions of pixels to be
>> processed the C++ vector adds overheads, too.
>
> No more than naked dynamic arrays.

Well, possibly a little bit more (default initialisation, storing the
length, and possibly some address calculation if you want to address it
as if it were multidimensional, in zigzag fashion, say. Nothing you
couldn't fix with a templated custom class, though.) 

And if those are the speed determining step of your algorithm, you're
doing it wrong.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Question about destructors Gus Gassmann <horand.gassmann@googlemail.com> - 2012-02-07 06:53 -0800
  Re: Question about destructors "Fred Zwarts \(KVI\)" <F.Zwarts@KVI.nl> - 2012-02-07 16:11 +0100
  Re: Question about destructors "Asger Joergensen" <Junk@Asger-P.dk> - 2012-02-07 15:38 +0000
    Re: Question about destructors Gus Gassmann <horand.gassmann@googlemail.com> - 2012-02-07 09:13 -0800
      Re: Question about destructors "Asger Joergensen" <Junk@Asger-P.dk> - 2012-02-07 17:34 +0000
        Re: Question about destructors Victor Bazarov <v.bazarov@comcast.invalid> - 2012-02-07 12:42 -0500
          Re: Question about destructors 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-07 23:39 -0800
            Re: Question about destructors Ian Collins <ian-news@hotmail.com> - 2012-02-08 22:32 +1300
              Re: Question about destructors Gareth Owen <gwowen@gmail.com> - 2012-02-08 17:51 +0000
                Re: Question about destructors Gert-Jan de Vos <gert-jan.de.vos@onsneteindhoven.nl> - 2012-02-08 10:47 -0800
      Re: Question about destructors SG <s.gesemann@gmail.com> - 2012-02-10 04:35 -0800
        Re: Question about destructors 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-11 08:17 -0800
  Re: Question about destructors Joshua Maurice <joshuamaurice@gmail.com> - 2012-02-07 15:12 -0800
  Re: Question about destructors Juha Nieminen <nospam@thanks.invalid> - 2012-02-08 06:38 +0000
    Re: Question about destructors Peter Remmers <p.remmers@expires-2011-04-30.arcornews.de> - 2012-02-09 00:30 +0100
      Re: Question about destructors Peter Remmers <p.remmers@expires-2011-04-30.arcornews.de> - 2012-02-09 00:56 +0100
      Re: Question about destructors Joshua Maurice <joshuamaurice@gmail.com> - 2012-02-09 14:34 -0800
        Re: Question about destructors Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-02-13 17:48 +0000

csiph-web