aboutsummaryrefslogtreecommitdiff
path: root/lib/libtacplus
diff options
context:
space:
mode:
authorDoug Moore <dougm@FreeBSD.org>2024-10-08 08:31:16 +0000
committerDoug Moore <dougm@FreeBSD.org>2024-10-08 08:31:16 +0000
commitd0b225d16418e224b5d30d13f45515aa70ad47a3 (patch)
treec2bfe5afdd4d2fd156c22cece6dfe94c54942699 /lib/libtacplus
parente7fe85643735ffdcf18ebef81343eaac9b8d2584 (diff)
downloadsrc-main.tar.gz
src-main.zip
swap_pager: use iterators in swp_pager_meta_buildHEADmain
Add a method to use an iterator for pctrie insertion; this should improve performance when the last search ended near the place where the new item will be inserted. Add an iterator argument to swp_pager_meta_build, so that the lookups and insertions it does can be faster in the common case when keys are bunched close together, or appear in sequence. Reviewed by: alc Differential Revision: https://reviews.freebsd.org/D46848
Diffstat (limited to 'lib/libtacplus')
0 files changed, 0 insertions, 0 deletions