CodeEditApp / CodeEditApp/CodeEditTextView

🐞 Attachments Storage Performance

オープン
#94 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Swift
スター
182
フォーク
54
PR マージ指標
30日以内にマージされた PR はありません

説明

### Description

With the new [text attachments API ](https://github.com/CodeEditApp/CodeEditTextView/pull/93), we're introducing a potential performance pitfall in the attachment storage object.

Right now, it stores attachments in an array ordered by range start location. This is fine for querying, as we can do a simple binary search to find attachments. However insertion and removal could be improved as they're both `O(N)` due to array modification performance.

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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