CodeEditApp / CodeEditApp/CodeEditTextView
🐞 Attachments Storage Performance
Abierto
- Lenguaje dominante
- Swift
- Estrellas
- 182
- Forks
- 54
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.