How the Black project made type-annotated Python code run 2x faster with mypyc

I spent a COVID summer (and then some) integrating mypyc into Black to double performance. How was it? Read more

Similar

Object Spread Operator for Python

Say you have a dictionary that you want to both copy and update. In JavaScript, this is a common pattern that gets its own syntax, called the object spread operator: const oldObject = { hello: 'world', foo: 'bar' } const newObject = { ...oldObject, foo: '... (more…)

Read more »