home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / lucidem / help / 663 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.8 KB  |  44 lines

  1. Newsgroups: alt.lucid-emacs.help
  2. Path: sparky!uunet!spool.mu.edu!agate!boulder!news!grunwald
  3. From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald)
  4. Subject: Re: GC idea
  5. In-Reply-To: jwz@lucid.com's message of Thu, 5 Nov 1992 21:17:13 PST
  6. Message-ID: <GRUNWALD.92Nov8212721@foobar.cs.colorado.edu>
  7. Sender: news@colorado.edu (The Daily Planet)
  8. Nntp-Posting-Host: foobar.cs.colorado.edu
  9. Reply-To: grunwald@foobar.cs.colorado.edu
  10. Organization: University of Colorado at Boulder
  11. References: <9211060256.AA08035@thymus.synaptics> <9211060517.AA05701@thalidomide.lucid>
  12. Date: 8 Nov 92 21:27:21
  13. Lines: 29
  14.  
  15. >>>>> On Thu, 5 Nov 1992 21:17:13 PST, jwz@lucid.com (Jamie Zawinski) said:
  16.  
  17.  
  18. JZ> In message <9211060256.AA08035@thymus.synaptics> Dave Gillespie wrote:
  19. >
  20. > What would you say to putting something in Emacs' command loop so
  21. > that, if Emacs has been idle for, say, 20 seconds, and the allocator
  22. > is more than, say, 3/4 of the way to gc-cons-threshold, then Emacs
  23. > pauses to do a GC.  This would drastically reduce the number of
  24. > times Emacs has to stop for GC while you're actually in the middle
  25. > of something.
  26.  
  27. JZ> I think you should be able to implement that in lisp; emacs
  28. JZ> autosaves after 30 seconds of idle time, via the timer mechanism.
  29. --
  30.  
  31. Actually, mayhaps it's time for a general discussion of the current GC
  32. scheme. Switching to a generational scheme would reduce the relatively
  33. large interactive ``hit'' you take in Emacs.
  34.  
  35. There's some interest here in finding a student to do something like
  36. this for an BS or MS project. I've communicated with JWZ a little
  37. about this.
  38.  
  39. Have others made efforts on this front before? If so, how did they
  40. fare? This (better GC) would improve the user interface considerably,
  41. as would providing bands so we don't need to have a system-preloaded
  42. with everything in it.
  43.  
  44.