aboutsummaryrefslogtreecommitdiff
path: root/parser.php
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2021-11-11 13:44:41 -0700
committerJohn Denker <jsd@av8n.com>2021-11-11 16:08:19 -0700
commit22665704696c4c404142156217401cda5be697e6 (patch)
tree753404b181866ef9b6c069a83e0bc25e8aed7398 /parser.php
parent9745514c1833bee05ce0a2ee28cd92d62fd4a8dc (diff)
no longer any need to sort identifiers by length;
better to keep them in designed-in order
Diffstat (limited to 'parser.php')
-rw-r--r--parser.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/parser.php b/parser.php
index ad141f1..0efc21b 100644
--- a/parser.php
+++ b/parser.php
@@ -1702,7 +1702,3 @@ class qtype_algebra_parser {
}
}
}
-
-// Sort static arrays once here by inverse string length.
-usort(qtype_algebra_parser_variable::$greek, 'qtype_algebra_parser_strlen_sort');
-usort(qtype_algebra_parser::$functions, 'qtype_algebra_parser_strlen_sort');