Skip to content

[k2] speed up compiling - #1659

Open
Shamzik wants to merge 6 commits into
masterfrom
kshamazov/speed-up
Open

[k2] speed up compiling#1659
Shamzik wants to merge 6 commits into
masterfrom
kshamazov/speed-up

Conversation

@Shamzik

@Shamzik Shamzik commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

This PR speed up compiling of sources

@Shamzik Shamzik self-assigned this Jul 22, 2026
@Shamzik Shamzik added runtime Feature related to runtime k2 Affects compiler or runtime in K2 mode labels Jul 22, 2026
@Shamzik Shamzik added this to the next milestone Jul 22, 2026
@Shamzik Shamzik changed the title speed up compiling [k2] speed up compiling Jul 22, 2026

@KPHP-CI KPHP-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Keep it up!

KPHP-CI
KPHP-CI previously approved these changes Jul 23, 2026

@KPHP-CI KPHP-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great effort!

Comment thread runtime-light/stdlib/diagnostics/logs.h Outdated
static constexpr size_t DEFAULT_LOG_BUFFER_SIZE = 2048UZ;

template<typename T>
const T& unmove(T&& x) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This doesn't look good at all. It may lead to dangling references all around. Let's try to get rid of it

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed

KPHP-CI
KPHP-CI previously approved these changes Jul 27, 2026

@KPHP-CI KPHP-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice work!

@Shamzik
Shamzik requested a review from apolyakov July 28, 2026 10:29
Comment thread runtime-light/stdlib/diagnostics/detail/logs.cpp Outdated
Comment thread runtime-light/stdlib/diagnostics/detail/logs.cpp
Comment thread runtime-light/stdlib/diagnostics/detail/logs.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

k2 Affects compiler or runtime in K2 mode runtime Feature related to runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants