
                            render.library
                            --------------
              1996 by Captain Bifat / TEK neoscientists


                          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()
  
  currently these amounts of memory are only allocated when Render()
  is  called.  (this  behavior may change.) if the allocation fails,
  the palette falls back to the next lower resolution automatically.
  the memory will be freed as soon as the palette changes, i.e. when
  you  call ImportPalette(), ExtractPalette(), or SortPalette(). you
  may  also  call  FlushPalette() to manually free these buffers. if
  you  render  again,  these  buffers will have to be reconstructed,
  though.
