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

lent support #46

Merged
merged 5 commits into from
Aug 14, 2024
Merged

lent support #46

merged 5 commits into from
Aug 14, 2024

Commits on Aug 13, 2024

  1. lent support

    `lent` allows returning a (hidden) pointer to a member thus making
    Result slightly more efficient when working with types that are
    expensive to copy.
    
    `lent` is enabled by default only on recent versions as Nim is known to
    generate invalid code in earlier releases - how far back `lent` works
    reliably depends on where Result appears but versions as recent as
    1.6.14 have been known to have issues.
    
    As such, `lent` support is conservatively enabled only for 2.0.8+ but
    can be enabled for earlier versoins as well via a compile-time define.
    arnetheduck committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    03c5d14 View commit details
    Browse the repository at this point in the history
  2. less tests

    arnetheduck committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    5213da5 View commit details
    Browse the repository at this point in the history
  3. don't test non-default lent setting

    it's failing all over the place
    arnetheduck committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    fff0655 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    65c3966 View commit details
    Browse the repository at this point in the history
  2. nph

    arnetheduck committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    865e3db View commit details
    Browse the repository at this point in the history