Skip to content

Conversation

@ainame
Copy link

@ainame ainame commented Oct 14, 2025

Swift 6.2 introduced a few performance-focused improvements; InlineArray and Span. This PR used Span to access elements in Array faster and avoided use of indirect enum and Optional<T> which aren't efficient in Swift in general.

To do so, I also needed to update docker image.

@ainame ainame marked this pull request as ready for review October 14, 2025 23:38
@cyrusmsk
Copy link
Contributor

Hey @ainame
This repo is kinda slow on adding new things.

But it will be great if you will try to update Swift solution for this (https://github.com/jinyus/related_post_gen) benchmark.
I'm also curious if new parallel features of Swift 6.x could give the boost to the concurrent code.

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