emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Comments on display.texi


From: Richard Stallman
Subject: Re: Comments on display.texi
Date: Tue, 28 Sep 2004 18:48:30 -0400

    I still have problems envisioning anybody using more than a few
    bitmaps in any mode (ok, a mode which shows line numbers in 
    the fringe would probably use a couple of 100s).

    Currently, the only package using bitmaps is gdb-ui -- and it uses
    just ONE.

Where are bitmap indices stored?  How many places will Emacs try to
store them?

    There are several places in the code which uses a static allocation
    based on the max number of bitmaps.  Of course they can be made
    dynamic, but that would be unnecessary, we could agree on a limit of
    4095 for 21.4.  WDYT?

One of the GNU coding standards is to avoid fixed-allocated tables.
Why not malloc them?  You can start them at length 20 and realloc them
if they are ever exceeded.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]