Constraints on ID size
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 734
- Fork
- 412
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
A lot of messages contain strings that are (typically) 32 bytes hexadecimal strings.
As I am working on a native implementation of the protocol, I realize that a lot of optimization is possible in e.g. comms if we know the size of the id in advance. Basically, a comm contains is a string, and fixed-sized stack allocated strings would prevent requiring dynamic allocation when instantiating a comm.
Hence, after some discussions on gitter, a proposition is to require the IDs specified in the jupyter messaging protocol to have a length of *up to* `32 bytes`.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.