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

Dafny runtime performance improvements #5920

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

keyboardDrummer
Copy link
Member

@keyboardDrummer keyboardDrummer commented Nov 18, 2024

Fixes #2313

Description

  • When using .Subsequence, don't make a copy but instead create a view
  • TODO, when doing .Update, don't make a copy but instead create a view
  • When doing .Select, return a value without making a copy
  • WIP, change LazySequence so it'll copy itself into a fresh array after being accessed multiple times

How has this been tested?

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@keyboardDrummer keyboardDrummer changed the title Go performance Dafny runtime performance improvements Nov 18, 2024
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.

Proposal: improve performance of sequences by making slices lazy
1 participant