Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!CSNET-SH.ARPA!dennis From: dennis@CSNET-SH.ARPA (Dennis Rockwell) Newsgroups: net.emacs Subject: Re: MicroEMACS 3.7 response Message-ID: <8608151737.AA19339@ucbvax.Berkeley.EDU> Date: Fri, 15-Aug-86 13:38:02 EDT Article-I.D.: ucbvax.8608151737.AA19339 Posted: Fri Aug 15 13:38:02 1986 Date-Received: Sun, 17-Aug-86 05:42:56 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 27 Greetings! I've been looking into causes for the slow response that I've been seeing on our overloadad 11/750. Doesn't it bother anybody else that the routine execute in main.c scans the entire binding table on each keystroke? For most keystrokes (those that effectively self-insert), this search will fail. I have rewritten the relevant code and rearranged keytab so that keytab lookups are simple array indexes. There really is a (bindable!) self-insert command and function. Startup is much faster because bind-to-key is dramatically faster. It's perceptibly harder to type faster than emacs can update my screen. Because of the complete rewrite of ebind.h, these changes are probably too big to post. However, I'm sending them to Daniel Lawrence, in hopes of getting them into the next release. The drawback here is that there are now three tables that are each 256 entries long, containing the keybindings. I have also fixed wrapword to behave better (you've probably had it mess up on you), and fillpara has been modified similarly (fillpara now just removes all the newlines in the paragraph and calls wordwrap). These changes will also be sent to Daniel Lawrence. Dennis