Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Performance improvement for collection cells with many childs (1000+) #5

wants to merge 1 commit into


None yet
1 participant

slisson commented Dec 11, 2013

In my mps-multiline language (https://github.com/slisson/mps-multiline) I create a cell for each word. If the text contains 1000+ words and therefore the collection cell of the text has the same amount of childs, the editor performance is bad.

Luckily, it's not a big problem and can be fixed very easily. Here is my proposed solution.

The performance is bad if the editor contains a collection cell with …
…a large amount of childs (>1000). This change improves the performance of the biggest bottlenecks, so that the editor is responsive even for 1000+ childs.

@slisson slisson referenced this pull request in slisson/mps-multiline Dec 11, 2013


Long text makes the editor slow #6

@slisson slisson closed this Mar 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment