Re: Applications that use thousands of data containers?
- From: Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx>
- Date: Sat, 28 Apr 2007 13:57:22 +0200
"JohnQ" <johnqREMOVETHISprogrammer@xxxxxxxxx> writes:
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 applications have that many and more containers.
Any structure (or object) can be considered a container.
For example, a web server may have:
(room t)Class # Instances Size (bytes) Average size
----- ----------- ------------ ------------
CONS 1253387 10027096 8.000
SIMPLE-VECTOR 35158 4892064 139.145
SIMPLE-STRING 81154 3650112 44.978
SYMBOL 52889 1692448 32.000
FUNCTION 20654 1147704 55.568
EXT:SIMPLE-8BIT-VECTOR 16676 836160 50.142
HASH-TABLE 2702 172928 64.000
....
2,700 hash-tables, and if we assume lists are on average 10-element
long, 125,338 lists, plus 35,000 vectors.
--
__Pascal Bourguignon__ http://www.informatimago.com/
"I have challenged the entire quality assurance team to a Bat-Leth
contest. They will not concern us again."
.
- References:
- Prev by Date: Re: Applications that use thousands of data containers?
- Next by Date: Re: Change for a Dollar
- Previous by thread: Re: Applications that use thousands of data containers?
- Index(es):
Relevant Pages
|