Денис Аникин 2 Что я делаю — работаю в Райфе — teamlead в 3 командах — community lead в Python Community — fullstack: typescript, python, devops https://xfenix.ru
MsgSpec 20 Что там интересного —Zero-cost schema validation —Speedy Struct type for representing structured data —High performance encoders/decoders for common protocols. The JSON and MessagePack implementations regularly benchmark as the fastest options for Python
Интересное по рантайм работе 25 —Быстро импортируются —Создание инстанса оглушительно быстрое (в 50 раз быстрее pydantic) —Сравнение от 6 до 500 раз быстрее других альтернатив —Сравнение больше, меньше и т.п. быстрее от 10 до 70 раз
30 Можно использовать как json декодер import msgspec # once msgspec.json.decode(b'{"hello":"world"}') # multiple decoder = msgspec.json.Decoder() decoder.decode(b'{"hello":"world"}')