From 2d499618df527d6143597fd45468ef744e7d2cee Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 9 Nov 2018 21:16:15 +0100 Subject: [PATCH] restore memoized --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97fe67df..45f261bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -275,7 +275,7 @@ Contributions to `monaco-languages`: - now using **Typed Arrays** in a number of key places resulting in considerable speed boosts and lower memory consumption. ### Monarch Tokenizer - - Monarch states are now memorized up to a depth of 5. This results in considerable memory improvements for files with many lines. + - Monarch states are now memoized up to a depth of 5. This results in considerable memory improvements for files with many lines. - Speed improvements to Monarch tokenizer that resulted in one **breaking change**: - when entering an embedded mode (i.e. `nextEmbedded`), the state ending up in must immediately contain a `nextEmbedded: "@pop"` rule. This helps in quickly figuring out where the embedded mode should be left. The editor will throw an error if the Monarch grammar does not respect this condition.