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

Add support for memoized streams to the term model evaluator #1370

Merged
merged 1 commit into from
Jul 24, 2021

Commits on Jul 23, 2021

  1. Add support for memoized streams to the term model evaluator.

    Although it is correct to treat streams according to their
    SAWCore datatype definition, the naive implementation as a function
    looses sharing that users expect given the behavior of Cryptol
    streams.  This patch makes sure to memoize concrete evaluations
    of stream values, and blocks evaluation of stream lookups for
    values that are not concrete.
    
    This significantly improves the performance of the kinds of
    stream programs that arise from Cryptol.
    robdockins committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    f582f67 View commit details
    Browse the repository at this point in the history