@ 240413.1

240127.2 · b74d4dcb2a8c8cb4cef9040f1960f556ca7d80a2

Some performance improvements by fast-tracking property search on ASCII characters.

reading declarations

Changes to width.go. All files

width.go

@@ -38,7 +38,7 @@ func runeWidth(r rune, graphemeProperty int) int { 		return 4 	} -	switch property(eastAsianWidth, r) {+	switch propertyEastAsianWidth(r) { 	case prW, prF: 		return 2 	case prA: