Skip to content

Cache memory slice into local. - #74

Merged
ncruces merged 1 commit into
mainfrom
hoist
Nov 12, 2026
Merged

ncruces merged 1 commit into
mainfrom
hoist

Conversation

@ncruces

@ncruces ncruces commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Alternative to #68.

@msuozzo

msuozzo commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

nice! happy to go with this over the original. i'm seeing the same or slightly greater improvements vs my version.

re the xeon: i tried both on a few GCE CPU types and I'm measuring consistent gains however i'm also seeing a fair amount of variance from layout along (5% improvement with 10% baseline variance). if you do a few attempts with -ldflags=-randlayout=N, do you see improvements?

@ncruces

ncruces commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

I do see some improvements, but I measure on my workstation, and these days it's hard to know if something else is burning CPU locally.

I'm glad it worked.

@ncruces
ncruces merged commit f94a8d4 into main Nov 12, 2026
13 of 14 checks passed
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