Sharing Memory with C
Part 11 of a series on the CPython runtime: the buffer protocol, the interface that lets Python objects and C code share one block of memory without copying it. One bytearray seen as a memoryview, a NumPy array and a C …
Part 11 of a series on the CPython runtime: the buffer protocol, the interface that lets Python objects and C code share one block of memory without copying it. One bytearray seen as a memoryview, a NumPy array and a C …
Part 9 of a series on the CPython runtime: where Python numbers are C numbers and where they stop being. Addition at 15 ns up to 2^300 and 400 ns at a thousand digits, multiplication going from schoolbook to Karatsuba, …