Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

internal/gclayout: make gclayout values constants#4947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
dgryski wants to merge1 commit intotinygo-org:dev
base:dev
Choose a base branch
Loading
fromdgryski:dgryski/gclayout-interp

Conversation

dgryski
Copy link
Member

The previous versions calculated at init() preventedinterp from running in many cases, increasing compile times due to the increased need to revert the partially interpreted results and also increasing binary runtime because fewer optimizations had happened during interp.

@dgryskidgryski marked this pull request as draftJuly 8, 2025 22:23
@dgryskidgryskiforce-pushed thedgryski/gclayout-interp branch from7336fb2 to0d17fccCompareJuly 9, 2025 00:16
The previous versions calculated at init() prevented `interp` from runningin many cases, increasing compile times due to the increased need to revertthe partially interpreted results and also increasing binary runtime becausefewer optimizations had happened during interp.
@dgryski
Copy link
MemberAuthor

make wasmtest WorksForMe(tm). Not sure what's up with CI.

~/go/src/github.com/tinygo-org/tinygo $ make wasmtestgo test ./tests/wasmok  github.com/tinygo-org/tinygo/tests/wasm30.970s

@deadprogram
Copy link
Member

@deadprogram
Copy link
Member

@dgryski please rebase against lastestdev to pass CI.

Copy link
Member

@aykevlaykevl left a comment

Choose a reason for hiding this comment

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

LGTM, using constants is much better.

Not sure aboutAsPtr but I can't really think of a better name for the method.

@deadprogram
Copy link
Member

@dgryski please remember to rebase against the most recent dev to pass CI

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@aykevlaykevlaykevl approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@dgryski@deadprogram@aykevl

[8]ページ先頭

©2009-2025 Movatter.jp