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


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

Re: Converting recursive algorithm to an iterative version

From 88888 Dihedral <dihedral88888@googlemail.com>
Newsgroups comp.lang.c++
Subject Re: Converting recursive algorithm to an iterative version
Date 2011-12-10 02:42 -0800
Organization http://groups.google.com
Message-ID <6646114.1355.1323513752042.JavaMail.geo-discussion-forums@prkz16> (permalink)
References (2 earlier) <10678810.1375.1323463864546.JavaMail.geo-discussion-forums@pret21> <4ee32c58$0$2787$7b1e8fa0@news.nbl.fi> <17620010.1187.1323512084027.JavaMail.geo-discussion-forums@prie17> <4ee3356b$0$3088$7b1e8fa0@news.nbl.fi> <31511900.1581.1323513688588.JavaMail.geo-discussion-forums@pruu5>

Show all headers | View raw


On Saturday, December 10, 2011 6:41:28 PM UTC+8, 88888 Dihedral wrote:
> On Saturday, December 10, 2011 6:33:15 PM UTC+8, Juha Nieminen wrote:
> > 88888 Dihedral <dihe...@googlemail.com> wrote:
> > > There are very limited cases for recursive functions to be used in C. 
> > 
> >   You don't understand my point.
> > 
> > > The quick sort in the c lib  is notorious to be choked quite often. 
> > 
> >   qsort() is not slow because of the recursion. std::sort() uses recursion
> > as well. So what?
> 
> There was not my problem. That was  a problem for non-professionals.
                                  

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


Thread

Converting recursive algorithm to an iterative version Ania <anka.stepien@gmail.com> - 2011-12-07 15:48 -0800
  Re: Converting recursive algorithm to an iterative version Victor Bazarov <v.bazarov@comcast.invalid> - 2011-12-08 08:59 -0500
  Re: Converting recursive algorithm to an iterative version Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-12-08 06:30 -0800
    Re: Converting recursive algorithm to an iterative version Ania <anka.stepien@gmail.com> - 2011-12-08 08:25 -0800
      Re: Converting recursive algorithm to an iterative version Paavo Helde <myfirstname@osa.pri.ee> - 2011-12-08 12:53 -0600
        Re: Converting recursive algorithm to an iterative version jgk@panix.com (Joe keane) - 2011-12-11 20:36 +0000
          Re: Converting recursive algorithm to an iterative version Paavo Helde <myfirstname@osa.pri.ee> - 2011-12-11 15:37 -0600
            Re: Converting recursive algorithm to an iterative version Ania <anka.stepien@gmail.com> - 2011-12-11 14:26 -0800
  Re: Converting recursive algorithm to an iterative version Larry Evans <cppljevans@suddenlink.net> - 2011-12-08 11:58 -0600
    Re: Converting recursive algorithm to an iterative version Ania <anka.stepien@gmail.com> - 2011-12-08 11:41 -0800
  Re: Converting recursive algorithm to an iterative version Juha Nieminen <nospam@thanks.invalid> - 2011-12-09 06:41 +0000
    Re: Converting recursive algorithm to an iterative version 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-09 12:51 -0800
      Re: Converting recursive algorithm to an iterative version Juha Nieminen <nospam@thanks.invalid> - 2011-12-10 09:54 +0000
        Re: Converting recursive algorithm to an iterative version 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-10 02:14 -0800
          Re: Converting recursive algorithm to an iterative version Juha Nieminen <nospam@thanks.invalid> - 2011-12-10 10:33 +0000
            Re: Converting recursive algorithm to an iterative version 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-10 02:41 -0800
              Re: Converting recursive algorithm to an iterative version 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-10 02:42 -0800
        Re: Converting recursive algorithm to an iterative version Tobias Müller <troplin@bluewin.ch> - 2011-12-10 11:56 +0000

csiph-web