Re: announcing synfl, the next generation of fontlock
"Stephen J. Turnbull" <[email protected]> Tue, 25 May 2004 12:10:46 +0900
| Newsgroups | gmane.emacs.xemacs.design |
|---|---|
| Organization | The XEmacs Project |
| Message-ID | <[email protected]> |
>>>>> "dvl" == Didier Verna <[email protected]> writes: dvl> As for speed, I don't know but I have the opposite feeling. Profiling says that the Lisp LR code uses a small fraction of the time spent in the C regexp code, even with trace statements in the LR code every few lines, and even though the regexps are restricted to the form [charclass1][charclass2]*, maybe with a couple of \\|'s in there. >From the speed vantage point, there's something very wrong with this picture, but it's not in the Lisp corner. dvl> I'd rather make the parser in C, and provide hooks in Lisp dvl> when needed. Hey, this is free software, whatever floats your boat. :-) I think the parser in Lisp strategy is more likely to be sufficiently flexible to quickly develop new font-lock and other "parsed text editing" strategies, that's all. -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.