Skip to content

✨ feat(lang): add zip builtin function#1773

Merged
harehare merged 1 commit into
mainfrom
feat/add-zip-builtin
May 21, 2026
Merged

✨ feat(lang): add zip builtin function#1773
harehare merged 1 commit into
mainfrom
feat/add-zip-builtin

Conversation

@harehare
Copy link
Copy Markdown
Owner

Adds zip(arr1, arr2) that combines two arrays into an array of pairs, truncating to the shorter array's length. Includes tests for equal-length, unequal-length, and empty array cases.

Adds `zip(arr1, arr2)` that combines two arrays into an array of
pairs, truncating to the shorter array's length. Includes tests
for equal-length, unequal-length, and empty array cases.
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 21, 2026

Merging this PR will improve performance by 12.89%

⚡ 1 improved benchmark
✅ 28 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
eval_variable_assignment_chain 758.8 µs 672.2 µs +12.89%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing feat/add-zip-builtin (acf5073) with main (4cfa7f3)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (829eb18) during the generation of this report, so 4cfa7f3 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@harehare harehare merged commit 7bb00ed into main May 21, 2026
10 checks passed
@harehare harehare deleted the feat/add-zip-builtin branch May 21, 2026 12:34
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.

1 participant