emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal: block-based vector allocator


From: Dmitry Antipov
Subject: Re: Proposal: block-based vector allocator
Date: Thu, 08 Dec 2011 08:41:33 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

On 12/08/2011 05:53 AM, Stephen J. Turnbull wrote:

I don't think you're going to solve the memory use issues by improving
vector allocation.

Initially I considered the possibility to use mmap()ed areas to store Lisp
data for normal (already dumped) Emacs. Among others, it requires
1) suitable tagging scheme and 2) ability to store all Lisp data within
multiple-of-page-size blocks. That was the main motivation for working on
block-based vector allocator.

"Premature optimization is the root of all error."

It's not premature, and further improvements are possible. "The way of
thousand miles begins with single step".

If you want to keep working on it, fine -- every little bit helps, and
you might succeed.  But I don't think it should be a priority for
Emacs, and you are going to need to show more gains to make it worth a
somewhat more complex code base.

Sorry, but did you mean "don't show half-done work to a fool"? If yes,
then I should agree.

Dmitry



reply via email to

[Prev in Thread] Current Thread [Next in Thread]