emacs-devel
[Top][All Lists]
Advanced

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

Re: Convert README.org to plain text README while installing package


From: Stefan Monnier
Subject: Re: Convert README.org to plain text README while installing package
Date: Wed, 08 Jun 2022 13:37:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Moreover, I know myself that the actual memory allocation is done down
> in org-perist-read when running (read (current-buffer)). I got memory
> profiler wrong significant amount of time to learn not to trust it too
> much.

Indeed, the memory profiler is not very reliable.  Some of that is
a conscious implementation choice (e.g. we take samples when a whole new
16KB block is allocated to be divided into several smaller objects
rather than for every object allocation).  Other problems are things for
which I don't have an explanation (and haven't spent the time to try
and track them down).

I've still found it useful to help figure out in which part of the code
most of the allocation takes place, but you need to supplement it
without your own knowledge of what the code does  :-(


        Stefan




reply via email to

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