Skip to content

Wrap up Brennan's concatenation work.#108

Merged
dabrahams merged 26 commits intomasterfrom
concatenation
Aug 12, 2020
Merged

Wrap up Brennan's concatenation work.#108
dabrahams merged 26 commits intomasterfrom
concatenation

Conversation

@dabrahams
Copy link
Collaborator

Depends on #106, based on #84

saeta and others added 22 commits June 15, 2020 13:01
…ining either to avoid reimplementing ConcatenatedCollection a bunch of times.
…graphs together without making a copy.

Also along with this change includes:
 1. A collection which concatenates two heterogeneous collections, so long as their element types are identical.
 2. DefaultInitializable conformances for a variety of fixed-width numerical types.
 3. An implementation of `Either` which is used to implement `UnionEdgeGraph` as well as `ConcatenatedCollection`.
 4. Tests for the above.

Note: The `UnionEdgeGraph` demonstrates why an `Either` type is necessary (assuming
we want to avoid duplicating the implementation of ConcatenatedCollection across
both the `VertexEdgeCollection` and `VertexInEdgeCollection` types).
Co-authored-by: Dave Abrahams <dabrahams@google.com>
Co-authored-by: Dave Abrahams <dabrahams@google.com>
@dabrahams dabrahams changed the base branch from master to pointer-sugar August 12, 2020 14:06
@dabrahams dabrahams changed the base branch from pointer-sugar to master August 12, 2020 14:07
Copy link
Owner

@saeta saeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dabrahams dabrahams merged commit b4fb60d into master Aug 12, 2020
@dabrahams dabrahams deleted the concatenation branch August 12, 2020 15:21
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