See how to improve the performance of the rpkiv.rov function, which performs RPKI origin validation (see https://datatracker.ietf.org/doc/html/rfc6483) on the provided address prefix and ASN using the validator instance's VRPs. The main problem appears to be that it iterates serially over the complete set of VRPs. For example, there might be a way to generate a more efficient data structure when validation is run, so as to save work at the time when rpkiv.rov is called.
See how to improve the performance of the
rpkiv.rovfunction, which performs RPKI origin validation (see https://datatracker.ietf.org/doc/html/rfc6483) on the provided address prefix and ASN using the validator instance's VRPs. The main problem appears to be that it iterates serially over the complete set of VRPs. For example, there might be a way to generate a more efficient data structure when validation is run, so as to save work at the time whenrpkiv.rovis called.