summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2016-10-27 02:53:07 -0400
committerKen Raeburn <raeburn@raeburn.org>2017-06-21 22:34:32 -0400
commit0b3a0f30b288945e739f1ac7c2f9d8a2fdd352ac (patch)
tree9b1d5022ed8b38bef02a1ed83c3b839e6a72a84b /lisp/emacs-lisp/regexp-opt.el
parent63ec338c988f3ac661fd68591d688b3874c88511 (diff)
downloademacs-0b3a0f30b288945e739f1ac7c2f9d8a2fdd352ac.tar.gz
emacs-0b3a0f30b288945e739f1ac7c2f9d8a2fdd352ac.tar.bz2
emacs-0b3a0f30b288945e739f1ac7c2f9d8a2fdd352ac.zip
Short-circuit substitutions for some simple types.
Values that don't contain other values cannot be circular, so checking for circular objects is a waste of cycles. * src/lread.c (substitute_object_recurse): If the subtree being examined is a symbol, number, or property-less string, just return it.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions