Consolidate `candidate` access in `add_entry` during routing
authorMatt Corallo <git@bluematt.me>
Fri, 8 Dec 2023 19:43:17 +0000 (19:43 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 21 Dec 2023 06:00:07 +0000 (06:00 +0000)
commitb2cf4df798994b00f0899757fd830e954d4dd500
tree29675339c49865370f0434864d2c7fb4785f3f71
parent5a2e1bd7e63daf57b453d890f38bb3c3643bb3d9
Consolidate `candidate` access in `add_entry` during routing

Because fetching fields from the `$candidate` often implies an
indirect read, grouping them together may result in one or two
fewer memory loads, so we do so here.
lightning/src/routing/router.rs