HomeFreeBSD

ipfilter: Save time and cycles swapping bucket table sizes

Description

ipfilter: Save time and cycles swapping bucket table sizes

NAT hash tables are inverted for inbound vs outbound. Rather than spend
the time and cycles swapping them, let's simply calculate the bucket
lengths inversely.

MFC after: 1 week

Details

Provenance
cyAuthored on Sep 28 2021, 3:04 AM
Parents
rG9aa29457d55e: loader_lua.8: Fix first version
Branches
Unknown
Tags
Unknown