js: change codegen for match statement, speedup string.split_into_lines (#12157)

This commit is contained in:
playX 2021-10-12 09:52:16 +03:00 committed by GitHub
parent cfc56b24fb
commit 22962dd2d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 57 additions and 25 deletions

View file

@ -2,7 +2,7 @@ import strings
type MyInt = int
const maxn = 1000
const maxn = 100000
fn test_sb() {
mut sb := strings.new_builder(100)