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>
Wed, 20 Mar 2024 00:51:20 +0000 (00:51 +0000)
commit9df8d441ea127f32bd26d74e1a72d9e687849cd5
tree423d69eaac1aacdd46408d0bff135282a299c474
parent494e94087c9744b3702b36b67f5c5c13915dc356
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