emacs-devel
[Top][All Lists]
Advanced

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

Re: How to add pseudo vector types


From: Eli Zaretskii
Subject: Re: How to add pseudo vector types
Date: Sat, 24 Jul 2021 17:32:30 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: cpitclaudel@gmail.com,  emacs-devel@gnu.org
> Date: Sat, 24 Jul 2021 10:08:58 -0400
> 
> >> If we copy the buffer's content to a freshly malloc area before passing
> >> that to TS, then there should be no problem running TS in a separate
> >> concurrent thread, indeed.
> > Making a copy of the buffer is a non-starter from where I stand.  It
> > doesn't scale, for starters.  I don't see any reason to go to such a
> > complex design at this early stage.
> 
> I see absolutely no problem with scaling in making a copy: the extra
> memory and CPU time taken by the copy will be a constant factor which
> I don't expect to go much beyond 10%

10% of what?  It will be 100% of all the buffers that need parsing.

> I'm not sure we'll want to do that, but I see no reason to consider it
> a non-starter.

It's a bad start, okay?

Anyway, it looks like nothing like that will be necessary,
fortunately.



reply via email to

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