[Python-Dev] Re: Python multithreading without the GIL

2021-10-12 Thread Larry Hastings
Oops! Sorry everybody, I meant that to be off-list. Still, I hope you at least enjoyed my enthusiasm! /arry On Tue, Oct 12, 2021, 12:55 Larry Hastings wrote: > > (off-list) > > > On 10/11/21 2:09 PM, Sam Gross wrote: > > The ccbench results look pretty good: about 18.1x speed-up on "pi >

[Python-Dev] Re: Python multithreading without the GIL

2021-10-12 Thread Larry Hastings
(off-list) On 10/11/21 2:09 PM, Sam Gross wrote: The ccbench results look pretty good: about 18.1x speed-up on "pi calculation" and 19.8x speed-up on "regular expression" with 20 threads (turbo off). The latency and throughput results look good too. JESUS CHRIST //arry/

[Python-Dev] Re: RFC on Callable Type Syntax

2021-10-12 Thread Ɓukasz Langa
> On 12 Oct 2021, at 00:09, Erik Demaine wrote: > > Another possibility would be that functions can't be used as their types > directly, but need a casting operator like so: > > ``` > def add_converter(self, converter: typeof(data_to_table)) -> None: > self.converter = converter >