Re: Applications that use thousands of data containers?
- From: "sjdevnull@xxxxxxxxx" <sjdevnull@xxxxxxxxx>
- Date: 28 Apr 2007 03:28:27 -0700
JohnQ wrote:
What are some applications and domains that use many containers (lists,
maps, arrays, whatever) in one program? Within the science of programming,
hashtables that are implemented using a list container for the buckets which
could then have 1000's of lists (not that that would be a good design
though). But what are some domains and application programs that use many
(hundreds or thousands) of containers do get their job done? (Please note
that I'm not referring to the number of elements in the containers, but
rather containers themselves).
All kinds of programs can use many containers.
Many dynamic languages have at least one container per object (a
dictionary/hash, to look up what attributes the object has). Any
program with 10000 objects will have at least 10000 containers in such
a language.
With many data structures (e.g. linked list or most trees) there are
(in straightforward C implementations) many sub-structures that are
themselves valid containers. A program with a linked list containing
1000s of entries may have 1000s of valid lists in it, too.
Complex 3D models can easily have 1000s of containers.
An mp3 player may use a list for every album on it, which could easily
grow into the 1000s.
A compiler can easily accumulate tons of data structures, depending on
how complex it is.
Really, a lot of containers isn't very uncommon.
.
- Follow-Ups:
- Re: Applications that use thousands of data containers?
- From: Logan Shaw
- Re: Applications that use thousands of data containers?
- References:
- Prev by Date: Re: Change for a Dollar
- Next by Date: Re: Applications that use thousands of data containers?
- Previous by thread: Re: Applications that use thousands of data containers?
- Next by thread: Re: Applications that use thousands of data containers?
- Index(es):
Relevant Pages
|