Skip to content

Split map_lookup into two.#8

Merged
vext01 merged 1 commit intoykjit:masterfrom
ltratt:split_map_lookup
Mar 17, 2026
Merged

Split map_lookup into two.#8
vext01 merged 1 commit intoykjit:masterfrom
ltratt:split_map_lookup

Conversation

@ltratt
Copy link
Copy Markdown

@ltratt ltratt commented Mar 17, 2026

The "main" function is now inlinable and, often, we hit its fast path. When we don't, we fall back to the _sub function. Speeds mandelbrot up by about 5%.

The "main" function is now inlinable and, often, we hit its fast path.
When we don't, we fall back to the `_sub` function. Speeds mandelbrot up
by about 5%.
@vext01 vext01 added this pull request to the merge queue Mar 17, 2026
Merged via the queue into ykjit:master with commit f073708 Mar 17, 2026
2 checks passed
vext01 added a commit to vext01/ykmicropython that referenced this pull request Mar 17, 2026
This slows down mandelbrot, but speeds up "bigloop"-like benchmarks and
CLBG fannkuch Python3 ykjit#8.

fannkuch Python3 ykjit#8 speeds up by about 40%.

This makes us about over 2x upstream micropython on that benchmark.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fannkuchredux-python3-8.html
vext01 added a commit to vext01/ykmicropython that referenced this pull request Mar 17, 2026
This slows down mandelbrot, but speeds up "bigloop"-like benchmarks and
CLBG fannkuch Python3 ykjit#8.

fannkuch Python3 ykjit#8 speeds up by about 40%.

This makes us about over 2x upstream micropython on that benchmark.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fannkuchredux-python3-8.html
vext01 added a commit to vext01/ykmicropython that referenced this pull request Mar 17, 2026
This slows down mandelbrot, but speeds up "bigloop"-like benchmarks and
CLBG fannkuch Python3 ykjit#8.

fannkuch Python3 ykjit#8 speeds up by about 40%.

This makes us about over 2x upstream micropython on that benchmark.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fannkuchredux-python3-8.html
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