### Godot version

8449592d92eaeef990f5502b419d491ee3eeb7a6

### System information

Windows 11

### Issue description

Zooming in the script editor on an empty script freezes the entire editor for a few seconds, but if the file is large then it freezes for 4-5 seconds (which is unacceptable). Looks like a recent regression.

### Steps to reproduce

Just zoom in/out on the large script file.

### Minimal reproduction project

N/A
feature_sets.insert(p_name, p_tag);
	feature_sets_inv.insert(p_tag, p_name);
}
void TextServerFallback::_insert_feature_sets() {
	
	_insert_feature("italic", OT_TAG('i', 't', 'a', 'l'));
	_insert_feature("optical_size", OT_TAG('o', 'p', 's', 'z'));
	_insert_feature("slant", OT_TAG('s', 'l', 'n', 't'));
	_insert_feature("width", OT_TAG('w', 'd', 't', 'h'));
	_insert_feature("weight", OT_TAG('w', 'g', 'h', 't'));
}
_FORCE_INLINE_ int32_t ot_tag_from_string(const char *p_str, int p_len) {
	char tag[4];
	uint32_t i;
	if (!p_str || !p_len || !*p_str) {
		return OT_TAG(0, 0, 0, 0);
	}
	if (p_len < 0 || p_len > 4) {
		p_len = 4;
	}
	for (i = 0; i < (uint32_t)p_len && p_str[i]; i++) {
		tag[i] = p_str[i];
	}
	for (; i < 4; i++) {
		tag[i] = ' ';
	}
	return OT_TAG(tag[0], tag[1], tag[2], tag[3]);
}
int64_t TextServerFallback::_name_to_tag(const String &p_name) const {