Skip to content

Memoize false option values without recomputing - #1706

Merged
iMacTia merged 3 commits into
lostisland:mainfrom
OskarEichler:codex/memoize-false-options
Oct 18, 2026
Merged

iMacTia merged 3 commits into
lostisland:mainfrom
OskarEichler:codex/memoize-false-options

Conversation

@OskarEichler

Copy link
Copy Markdown
Contributor

Memoized option readers use boolean OR, so a valid false result is recomputed on every access. Treat only nil as absent.

Verification: full suite 639 examples, zero failures; focused false-value model; RuboCop and syntax pass. Source-only patch; no tests included.

OskarEichler and others added 2 commits August 30, 2026 14:43
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@iMacTia
iMacTia merged commit a54a53c into lostisland:main Oct 18, 2026
9 checks passed
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