]> git.ipfire.org Git - thirdparty/make.git/commit
Do not use STOP_SET for singleton compares.
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Aug 2017 11:44:33 +0000 (13:44 +0200)
committerPaul Smith <psmith@gnu.org>
Sat, 11 Nov 2017 15:08:30 +0000 (10:08 -0500)
commit0c44ca26830e29b9de8297719bc2bd05c16bf8f6
tree302cc98d44d237170583c2a4ad150fd2b2065140
parentb280989ab7aee115a97b9c0fe4627075566c5995
Do not use STOP_SET for singleton compares.

Compare against '$' directly rather than using MAP_VARIABLE.
This saves ~10% for find_map_function, which is the top hotspot in
QEMU's no-op build.  The build is sped up overall by about 1.5%
more (from 11.1s to 10.95s).

* read.c (find_map_function): Do not compare against singleton sets.
read.c