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

Slightly abstract over de Bruijn environments #3438

Merged
merged 1 commit into from
Jun 28, 2021
Merged

Conversation

michaelpj
Copy link
Contributor

We're going to end up with a bunch of these, especially once we add a
COLA based one. This adds a small abstraction so that we can easily swap
the implementation out (although we should keep it monomorphic in the
CEK machine iteslf).

While I was at it, I pulled the environments stuff and their benchmarks
out to an internal library and tidied the benchmarks a bit to make use
of the new classs.

Pre-submit checklist:

  • Branch
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

Pre-merge checklist:

  • Someone approved it
  • Commits have useful messages
  • Review clarifications made it into the code
  • History is moderately tidy; or going to squash-merge

@michaelpj michaelpj requested a review from bezirg June 25, 2021 16:53
@michaelpj michaelpj force-pushed the mpj/index-env-zoo branch 2 times, most recently from b782435 to a40fe6a Compare June 26, 2021 11:32
We're going to end up with a bunch of these, especially once we add a
COLA based one. This adds a small abstraction so that we can easily swap
the implementation out (although we should keep it monomorphic in the
CEK machine iteslf).

While I was at it, I pulled the environments stuff and their benchmarks
out to an internal library and tidied the benchmarks a bit to make use
of the new classs.
@michaelpj michaelpj force-pushed the mpj/index-env-zoo branch from a40fe6a to cc98443 Compare June 28, 2021 13:30
@michaelpj michaelpj merged commit 5519893 into master Jun 28, 2021
koslambrou pushed a commit that referenced this pull request Jun 29, 2021
We're going to end up with a bunch of these, especially once we add a
COLA based one. This adds a small abstraction so that we can easily swap
the implementation out (although we should keep it monomorphic in the
CEK machine iteslf).

While I was at it, I pulled the environments stuff and their benchmarks
out to an internal library and tidied the benchmarks a bit to make use
of the new classs.
@kwxm kwxm deleted the mpj/index-env-zoo branch October 12, 2021 04:29
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