Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX improvements #38

Merged
merged 2 commits into from
Jan 18, 2024
Merged

DX improvements #38

merged 2 commits into from
Jan 18, 2024

Conversation

digizeph
Copy link
Member

  • add .is_rib() to BrokerItem struct
  • add strict ordering definition for BrokerItem struct

An array of BrokerItems can be sorted with the following order:

  1. smaller timestamp before larger timestamp
  2. RIB before updates
  3. then alphabetical order on collector ID (route-views before rrc)

This resolves #35

@digizeph digizeph merged commit 1a2fdc1 into main Jan 18, 2024
1 check passed
@digizeph digizeph deleted the feature/dx-improve branch April 29, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SDK DX improvements
1 participant