Skip to content

Conversation

@Bios-Marcel
Copy link
Contributor

@Bios-Marcel Bios-Marcel commented Jan 18, 2025

Instead of doing 3 WriteConsole calls, we do a single call that sets the
cursor, sets the style and writes the content. This gives us a
performance boost of up to 3x faster.

@Bios-Marcel Bios-Marcel force-pushed the optimise_windows_vt_write_string branch 3 times, most recently from 793b306 to ddc2e12 Compare January 18, 2025 17:29
Instead of doing 3 `WriteConsole` calls, we do a single call that sets the
cursor, sets the style and writes the content. This gives us a
performance boost of up to 3x faster.
@Bios-Marcel Bios-Marcel force-pushed the optimise_windows_vt_write_string branch from ddc2e12 to dca8a44 Compare January 18, 2025 17:50
Copy link
Owner

@gdamore gdamore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to run this before I merge it, but it looks good.

@Bios-Marcel
Copy link
Contributor Author

Take your time :)

@gdamore gdamore merged commit 17ca208 into gdamore:main Jul 10, 2025
@Bios-Marcel
Copy link
Contributor Author

Hey, thanks for merging :)

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