Mail Archives: djgpp/1997/03/10/08:47:24
Paul Derbyshire wrote:
>
> I would be pleased if Allegro added an option to obtain the amount
> of memory a bitmap or sprite or music or sound resource is
> consuming. I.e. a bunch of functions such as:
>
> size_t size_of_bitmap (BITMAP *bmp)
>
> etc.
>
> This would allow easier tracking of memory usage by a program.
> Or is this already in there as an undocumented feature?
>
> --
> .*. 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
A reasonable question, deserves some thought. Is an increase in
complexity of Allegro data structures and/or code to give you info that
the application can determine independently worth the benefit?
I think not. Other opinions?
regards, tom burgess
- Raw text -