
memory consumption
-----------------------------

  this  is a rough overview to memory consumption. this may and will
  change in the future, you must not rely on these data.


  > histograms


  HSTYPE                        (1)             (2)         [bytes]
  ------------------------------------------------------------------
  12BIT                        20n            6n 
  15BIT                        20n            6n 
  18BIT                        20n            6n 
  21BIT                        20n            6n 
  24BIT                        20n            6n 
  12BIT_TURBO                16.384            6n 
  15BIT_TURBO               131.072            6n 
  18BIT_TURBO             1.048.576            6n 

  (1) memory consumed by the histogram
  (2) additional buffers for ExtractPalette().

  n = number of color entries inside the histogram

   allocated dynamically
   allocated with CreateHistogram()
   8n for the 68020 version


  > palettes


  HSTYPE                        (1)                          [bytes]
  ------------------------------------------------------------------
  12BIT                       8.192
  15BIT                      65.536
  18BIT                     524.288

  (1) Render(), ConvertChunky(), MapRGBArray(), RGBArrayDiversity(),
  ChunkyArrayDiversity()
  
  the memory will be allocated as soon as one of the above functions
  is  called. if the allocation fails, the palette falls back to the
  next lower resolution.

  the  memory  will be freed whenever the palette changes, i.e. when
  ImportPalette(),  ExtractPalette(),  SortPalette() etc. are  being
  called.  you  may also call FlushPalette() at any time to manually
  free these buffers.


  > mapping-engines


  HSTYPE                       (1)             (2)          [bytes]
  ------------------------------------------------------------------
  12BIT                       4.096           4.608
  15BIT                      32.768          36.864
  18BIT                     262.144         294.912

  of the palette being assigned to

  (1) CreateMapEngine() - normal
  (2) CreateMapEngine() - coupled with a histogram
