Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Sets and Lists, again

Re: Sets and Lists, again

From: David Cressey <dcressey_at_verizon.net>
Date: Sat, 20 May 2006 12:00:03 GMT
Message-ID: <7xDbg.738$nA2.189@trndny01>

"dawn" <dawnwolthuis_at_gmail.com> wrote in message news:1148097777.431200.106670_at_j55g2000cwa.googlegroups.com...
> David Cressey wrote:
> > Recently, in a thread on implementing both threads and lists in a
> > programming language, the example of lists or sets of Presidents arose.
I
> > mentioned that in a list of presidents, Grover Cleveland would appear
once,
> > but in a list of presidencies, he would appear twice.
> >
> > Bob Badour asked what purppose would be served by a list of presidents,
or
> > words to that effect. I'm interested.
> >
> > If one could have a set of presidents, why would one ever want a list?
>
> president[40]
>

I would think that arrays would be more useful than lists for this purpose.

Logically, they are equally useful. But you'd getter performance out of the array. Received on Sat May 20 2006 - 07:00:03 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US