Skip to content

Publish bulk arrays with single evals - #314

Merged
codeforester merged 2 commits into
mainfrom
enhancement/285-20260809-single-eval
Aug 9, 2026
Merged

Publish bulk arrays with single evals#314
codeforester merged 2 commits into
mainfrom
enhancement/285-20260809-single-eval

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • build prepend, remove, and unique results in local arrays before one publication eval
  • publish positional and repeatable argument arrays with one eval each
  • preserve empty-array and nounset behavior while removing O(n) eval loops

Validation

  • bats lib/bash/list/tests/lib_list.bats lib/bash/arg/tests/lib_arg.bats
  • shellcheck --severity=warning lib/bash/list/lib_list.sh lib/bash/arg/lib_arg.sh

Fixes #285

@codeforester
codeforester merged commit cacc5f6 into main Aug 9, 2026
10 checks passed
@codeforester
codeforester deleted the enhancement/285-20260809-single-eval branch August 9, 2026 18:56
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.

O(n) per-element eval loops in bulk array/publish operations instead of a single eval

1 participant