POV-Ray : Newsgroups : povray.off-topic : Trolltech doesn't know how amortized time works : Re: Trolltech doesn't know how amortized time works Server Time
4 Sep 2024 21:18:21 EDT (-0400)
  Re: Trolltech doesn't know how amortized time works  
From: Warp
Date: 2 Nov 2009 15:28:14
Message: <4aef40de@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> The claim /is/ precise: Whenever you want to insert an element into 
> /any/ data structure, you /always/ need to first figure out /where/ to 
> insert, so the cost of an insertion operation is /always/ specified 
> presuming that the insertion is to happen at a /predetermined/ location.

  "Inserting" and "inserting in the middle" are two slightly different
things. The latter is making a more concrete claim.

  As said, if you really can "insert in the middle" of a linked list in
constant time, give me such a function.

  If the claim is "insert at the location pointed by an iterator", then
the claim is true.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.