elementary / elementary/code

Freeze while finding/replacing large amount text

Aperta
#601 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Vala
Stelle
521
Fork
118
Merge medio
1g 8h
PR unite (30g)
14

Descrizione

I attempted to replace tabs with spaces in a ~6000-line tab-indented file. Code's UI locked up pretty much immediately, and a single CPU core was pegged for a couple of minutes. After a few minutes, Code had performed the replacement properly, but it had rendered the whole app unusable in the meantime.

For kicks and to reproduce, it was this file: https://github.com/elementary/wingpanel-indicator-network/blob/ce10f927cc7adb4843aafa536b12968bd512883b/vapi/libnm.vapi

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.