summaryrefslogtreecommitdiffstats
path: root/linenoise
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-08-07 06:25:55 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-08-07 06:25:55 -0700
commit7abdb7132afa0f5d8351c1a04d8fc819de3f1ea1 (patch)
tree7646a67b462a9f0673a06eb504abc229abffa934 /linenoise
parentfae5d29a6548c4eacfc2f463d220857d1d1f05a5 (diff)
downloadtxr-7abdb7132afa0f5d8351c1a04d8fc819de3f1ea1.tar.gz
txr-7abdb7132afa0f5d8351c1a04d8fc819de3f1ea1.tar.bz2
txr-7abdb7132afa0f5d8351c1a04d8fc819de3f1ea1.zip
@(collect)/@(coll): streamline list accumulation code.
* match.c (h_coll, v_collect): Revising the code for accumulating items into lists. Duplicate assoc lookups via assoc and acons_new are eliminated in favor of doing rplacd or acons. We don't call assoc to look up a binding if have_vars is false. car(binding) is called once and captured in the local vaiable sym.
Diffstat (limited to 'linenoise')
0 files changed, 0 insertions, 0 deletions