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

Provide a sorted order of scenarios for all formatters #260

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

PragTob
Copy link
Member

@PragTob PragTob commented Jan 13, 2019

Before every formatter had to call Statistics.sort by themselves,
which is unnecessary work for the formatters. I think it comes
from a time where we had maps instead of lists. But now we can
provide an order.

This should also go towards some consistency in which scenarios
are displayed. Moreover we can make Statistics.sort private
limiting our possible interaction surface.

Before every formatter had to call `Statistics.sort` by themselves,
which is unnecessary work for the formatters. I think it comes
from a time where we had maps instead of lists. But now we can
provide an order.

This should also go towards some consistency in which scenarios
are displayed. Moreover we can make `Statistics.sort` private
limiting our possible interaction surface.
@devonestes devonestes merged commit cb5b399 into master Jan 15, 2019
@devonestes devonestes deleted the sort-scenarios branch January 15, 2019 08:30
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.

None yet

2 participants