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

rationalise report set usage #2671

Merged
merged 9 commits into from
Jul 3, 2017
Merged

rationalise report set usage #2671

merged 9 commits into from
Jul 3, 2017

Conversation

rade
Copy link
Member

@rade rade commented Jul 3, 2017

Consistent APIs and usage of various set types on reports.

Also some micro optimizations, as a result of using the best available APIs; not enough to noticeably gain performance though.

See individual commits for details of what's been done; it's all largely mechanical.

I've done a before/after comparison of the generated topology reports to check that nothing has changed, and also that I didn't inadvertently introduce a performance regression.

rade added 9 commits July 3, 2017 01:26
They are an implementation detail.
for consistency - all the other report set constructors are called
'Make...'
They were unused and their naming was inconsistent with similar
operations (that are called Delete()).
It wasn't used, and is problematic in any case since it introduces
non-monotonicity.
Mainly for consistencty; we do something similar NodeSet.Delete().
@rade rade requested a review from 2opremio July 3, 2017 07:35
@rade rade merged commit 5a468ae into master Jul 3, 2017
@rade rade deleted the better-sets branch July 5, 2017 13:07
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