aboutsummaryrefslogtreecommitdiff
path: root/contrib/libstdc++/config/locale/gnu/(public-mirror)
diff options
context:
space:
mode:
authorDoug Moore <dougm@FreeBSD.org>2024-10-25 22:00:31 +0000
committerDoug Moore <dougm@FreeBSD.org>2024-10-25 22:00:31 +0000
commit0d965bc03428b66689d311fa4275868dfe27c82e (patch)
treeca8b61c13d96f0183597d86f85960b0fe572dcb3 /contrib/libstdc++/config/locale/gnu/(public-mirror)
parent4b01a7fa76ce5abd0ade631ac5566804ba657090 (diff)
downloadsrc-main.tar.gz
src-main.zip
subr_pctrie: improve iter nbr searchHEADmain
pctrie_toval(node) can be applied to either a leaf or an internal node; in the latter case it provides the address of the pn_owner field. In a couple of places where a neighbor search is about to begin for an iterator, the current code distinguishes the leaf and non-leaf cases in a way that isn't really necessary. This change shrinks each function by 16 bytes, and by a branch instruction. Reviewed by: bnovkov Differential Revision: https://reviews.freebsd.org/D47207
Diffstat (limited to 'contrib/libstdc++/config/locale/gnu/(public-mirror)')
0 files changed, 0 insertions, 0 deletions