News

PyBytes::new is very slow because it copies. A memoryview on Rust slice works. but it is hard to manage the lifetime. If we can allocate on the python side from the beginning, the copy is not ...