Skip to content

Conversation

@molpopgen
Copy link
Member

@molpopgen molpopgen commented Apr 15, 2021

A refactoring:

  • The current tree sequence stores a the consumed table collection. But, that table collection is copied into the tree sequence.
  • This PR removes that redundancy.
  • Introduce a "table collection reference" type to allow non-owning "views" of the tables owned by a tree sequence.
  • This new reference type, though, does duplicate some API of TableCollection.

@molpopgen molpopgen force-pushed the remove_duplicated_table_collection branch from 9953071 to 8e949b9 Compare April 16, 2021 11:27
@molpopgen
Copy link
Member Author

A second PR will allow iteration of the contained tables.

@molpopgen molpopgen merged commit 1672094 into main Apr 16, 2021
@molpopgen molpopgen deleted the remove_duplicated_table_collection branch April 16, 2021 11:37
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