Skip to content

refactor(service): use slices.SortFunc for clock ordering - #902

Open
daixiheguu wants to merge 2 commits into
streamingfast:developfrom
daixiheguu:my_feature
Open

refactor(service): use slices.SortFunc for clock ordering#902
daixiheguu wants to merge 2 commits into
streamingfast:developfrom
daixiheguu:my_feature

Conversation

@daixiheguu

Copy link
Copy Markdown

Replace reflection-based sort.Slice with typed slices.SortFunc when ordering block clocks in the service utilities.

The same comparison key and ascending ordering are retained. The change removes reflection and gives the comparator concrete clock types.

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.

2 participants