aboutsummaryrefslogtreecommitdiff
path: root/plugins/syntax/string_syntax_plugin.mlpack
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-09-09 21:47:17 +0200
committerPierre-Marie Pédrot2017-09-28 16:51:21 +0200
commitd28304f6ba18ad9527a63cd01b39a5ad27526845 (patch)
treeddd8c5d10f0d1e52c675e8e027053fac7f05f259 /plugins/syntax/string_syntax_plugin.mlpack
parentb9740771e8113cb9e607793887be7a12587d0326 (diff)
Efficient fresh name generation relying on sets.
The old algorithm was relying on list membership, which is O(n). This was nefarious for terms with many binders. We use instead sets in O(log n).
Diffstat (limited to 'plugins/syntax/string_syntax_plugin.mlpack')
0 files changed, 0 insertions, 0 deletions