[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HOWTO: lightning fast Emacs on Linux multicore
From: |
Pascal J. Bourguignon |
Subject: |
Re: HOWTO: lightning fast Emacs on Linux multicore |
Date: |
Sun, 16 Nov 2014 03:55:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Emanuel Berg <embe8573@student.uu.se> writes:
> A couple of months ago I got a multicore computer.
> Better yet, it is a dualcore :)
If you want to have fun, perhaps implementing a few emacs lisp library
functions in parallel (multi-threaded), could speed things up.
You'd have to find out what operations (particularly on big buffers) are
slow and parallelizable.
For example, replace-string could split its start/end range, (check the
cuts for occurences) and then process each range in parallel.
Similarly, replace-regexp and fontifying which is often thought to be
slow, could benefit (taking the same precautions around the cuts).
A lot of code that use iterative search (re-search-forward) could
probably be upgraded, using a function (such as re-all-matches) that
would perform the search in parallel on the different ranges.
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
- HOWTO: lightning fast Emacs on Linux multicore, Emanuel Berg, 2014/11/08
- Re: HOWTO: lightning fast Emacs on Linux multicore, Marcin Borkowski, 2014/11/09
- Message not available
- Re: HOWTO: lightning fast Emacs on Linux multicore, Emanuel Berg, 2014/11/15
- Re: HOWTO: lightning fast Emacs on Linux multicore, York Zhao, 2014/11/15
- Message not available
- Re: HOWTO: lightning fast Emacs on Linux multicore, Emanuel Berg, 2014/11/16
- Re: HOWTO: lightning fast Emacs on Linux multicore, Jean-Jacques Rétorré, 2014/11/16
- Re: HOWTO: lightning fast Emacs on Linux multicore, Emanuel Berg, 2014/11/16
- Re: HOWTO: lightning fast Emacs on Linux multicore, Jean-Jacques Rétorré, 2014/11/16
- Re: HOWTO: lightning fast Emacs on Linux multicore, Emanuel Berg, 2014/11/16
Re: HOWTO: lightning fast Emacs on Linux multicore,
Pascal J. Bourguignon <=
Re: HOWTO: lightning fast Emacs on Linux multicore, Bob Proulx, 2014/11/16
Message not available