Skip to content

Empty init optimization - #9

Merged
0xdea110c8 merged 2 commits into
mainfrom
empty-init-optimization
Aug 15, 2026
Merged

Empty init optimization#9
0xdea110c8 merged 2 commits into
mainfrom
empty-init-optimization

Conversation

@0xdea110c8

Copy link
Copy Markdown
Owner

What has been done

  • optimized empty string literal init

@github-actions

Copy link
Copy Markdown

Unit Tests

Commit: 9682fcd

Environment: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)

✅ Tests passed

@0xdea110c8

Copy link
Copy Markdown
Owner Author

Benchmark results:

Method Old New
init/empty/inlinestring16-string-literal 2.926 1.113 +62%

@0xdea110c8
0xdea110c8 merged commit 63f9548 into main Aug 15, 2026
2 checks passed
@0xdea110c8
0xdea110c8 deleted the empty-init-optimization branch August 15, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant