/[emacs]/emacs/lispref/internals.texi
ViewVC logotype

Diff of /emacs/lispref/internals.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40 by monnier, Thu Jul 21 19:03:13 2005 UTC revision 1.41 by rms, Fri Jul 22 22:58:15 2005 UTC
# Line 369  until the subsequent garbage collection, Line 369  until the subsequent garbage collection,
369  @end defopt  @end defopt
370    
371  @defopt gc-cons-percentage  @defopt gc-cons-percentage
372  The value of this variable is the minimum portion of the heap that  The value of this variable specifies the amount of consing before a
373  should be allocated before a garbage collection takes place.  It is  garbage collection occurs, as a fraction of the current heap size.
374  used only if the specified size is larger than  This criterion and @code{gc-cons-threshold} apply in parallel, and
375  @code{gc-cons-threshold}.  garbage collection occurs only when both criteria are satisfied.
376    
377  As the heap size increases, the time to perform a garbage collection  As the heap size increases, the time to perform a garbage collection
378  increases, so in order to compensate, this variable tries to  increases.  Thus, it can be desirable to do them less frequently in
379  correspondingly reduce the frequency of collection by letting Emacs  proportion.
 allocate more memory between each collection.  
380  @end defopt  @end defopt
381    
382    The value returned by @code{garbage-collect} describes the amount of    The value returned by @code{garbage-collect} describes the amount of

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26