Closed stephen-soltesz closed 4 years ago
This change adds a routeview package for parsing and searching the RV data. This will be used by the ASN annotator.
Search uses golang sort.Search. ParseRouteView is designed to reduce memory requirements as much as possible. This is accomplished in two ways:
Search
sort.Search
ParseRouteView
This was the best of four approaches as benchmarked from sandbox-soltesz-scratch, including:
This change is
https://github.com/m-lab/dev-tracker/issues/534
This change adds a routeview package for parsing and searching the RV data. This will be used by the ASN annotator.
Search
uses golangsort.Search
.ParseRouteView
is designed to reduce memory requirements as much as possible. This is accomplished in two ways:This was the best of four approaches as benchmarked from sandbox-soltesz-scratch, including:
This change is