[Top][All Lists]

[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: Tue, 20 Jul 2021 21:24:56 +0300

> From: Clément Pit-Claudel <cpitclaudel@gmail.com>
> Date: Tue, 20 Jul 2021 14:04:25 -0400
> Cc: emacs-devel@gnu.org
> Concrete example: if you have a bit of elisp that runs for .5s to make 
> modifications to the buffer, then press "indent", and only then do you send 
> changes to TS and wait for the response synchronously, then you will wait for 
> .5s + time to incorporate all changes.  If you start processing the changes 
> in parallel as they are made by the Elisp code, then you will only wait for 
> .5s + time to incorporate only the changes that had not been processed yet.

Your example is too abstract and disregards the issues that Emacs has
with such "pure" parallelism.  In my response to your original
proposal I tried to explain the difficulties with implementing your
suggestions _in_Emacs_, and the complexity which any such
implementation will bring with it.  When you compare synchronous with
async implementation, you need to take those difficulties and
complexities into consideration, otherwise the comparison will not be

reply via email to

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