[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions about throw-on-input
From: |
Andrea Corallo |
Subject: |
Re: Questions about throw-on-input |
Date: |
Fri, 15 May 2020 18:00:29 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> Do we have to share data between threads? A thread doesn’t share any data
>> can still be useful, speeding up some computations. For example, generating
>> completion candidates, providing async completion.
>
> If you don't need to share anything, than `async.el` does the trick.
> But in most cases, in order to be able to show completion candidates,
> you need to get access to some data.
What about having a quick de/serializer we can use to serialize and send
data to another process or thread? This could perform the requested job
and give back the data using this same binary format.
The pdumper would be the first candidate to look at to be generalized
for this purpose.
We would probably need also some specific way to limit the deepness of
the copy in certain cases, this not to end-up serializing the whole heap.
Andrea
--
address@hidden
- Re: Questions about throw-on-input, (continued)
- Re: Questions about throw-on-input, Richard Stallman, 2020/05/14
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/14
- Re: Questions about throw-on-input, Arthur Miller, 2020/05/15
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/15
- Re: Questions about throw-on-input, Yuan Fu, 2020/05/15
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/15
- Re: Questions about throw-on-input, yyoncho, 2020/05/15
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/15
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/15
- Re: Questions about throw-on-input, Philipp Stephani, 2020/05/15
- Re: Questions about throw-on-input,
Andrea Corallo <=
- Re: Questions about throw-on-input, Arthur Miller, 2020/05/15
- Re: Questions about throw-on-input, chad, 2020/05/15
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/16
- Re: Questions about throw-on-input, Daniel Colascione, 2020/05/11
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/12