Skip to content

Improving the perfomance of the coro-prime-sieve algorithm in C# implementation#479

Open
anc-u wants to merge 1 commit intohanabi1224:mainfrom
anc-u:main
Open

Improving the perfomance of the coro-prime-sieve algorithm in C# implementation#479
anc-u wants to merge 1 commit intohanabi1224:mainfrom
anc-u:main

Conversation

@anc-u
Copy link

@anc-u anc-u commented May 28, 2025

I kept the algorithm as it was, but removed the memory allocation for the utf16 string for the number when writing to the console, and also added synchronous processing where you don't need to wait to write to the channel from another thread, because in C# the channel interface allows you to do this

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