Mail Archives: djgpp/1997/06/08/04:08:41
"Patrick J. Morris" (danalas AT worldnet DOT att DOT net) writes:
> If I use a compressed file in Allegro and I need to read in chunks at a
> time
> and might possible read a chunk several 1000 times during program
> execution. How
> would I do this? I think that I should use the pack_fopen_chunk(), but
> how would
> I go back and forth in a file if I can't use seek because the file is
> compressed.
>
> Please help,
> Patrick
Load the chunk that will be used a lot and keep it in RAM?
(BTW, Allegro specific questions ought to have Allegro in the subject
header. That way Allegro-neophytes can skip it and it will catch the
attention of Allegro gurus like Shawn.)
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -