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

Misc API changes #37

Merged
merged 9 commits into from
Oct 15, 2021
Merged

Misc API changes #37

merged 9 commits into from
Oct 15, 2021

Conversation

digama0
Copy link
Member

@digama0 digama0 commented Oct 14, 2021

  • DB passes are now separated into get and get_or_insert style
    methods. Fixes High-level database API #24 (not the follow on stuff though)
  • SegmentSet and any function referencing it is now pub(crate).
  • Implement FormulaRef and the display impl. The debug impl is TODO.
  • Most uses of &Arc<T> in parameters are replaced with &T,
    unless cloning is actually required in the body.

* DB passes are now separated into `get` and `get_or_insert` style
  methods. Fixes #24 (not the follow on stuff though)
  * `SegmentSet` and any function referencing it is now `pub(crate)`.
  * Implement `FormulaRef` and the display impl. The debug impl is TODO.
  * Most uses of `&Arc<T>` in parameters are replaced with `&T`,
  unless cloning is actually required in the body.
src/database.rs Show resolved Hide resolved
src/database.rs Show resolved Hide resolved
src/database.rs Outdated Show resolved Hide resolved
src/export.rs Outdated Show resolved Hide resolved
src/formula.rs Outdated Show resolved Hide resolved
src/database.rs Outdated Show resolved Hide resolved
src/grammar.rs Outdated Show resolved Hide resolved
src/database.rs Show resolved Hide resolved
@tirix tirix merged commit d65037b into main Oct 15, 2021
@digama0 digama0 deleted the api branch October 15, 2021 07:31
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.

High-level database API
2 participants