ipython / ipython/ipykernel

Constraints on ID size

オープン
#253 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
734
フォーク
412
平均マージ
1日 5時間
マージ済み PR(30日)
8

説明

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`.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。