Skip to content

Remove the bump alloc now that select_slice usages are fixed - #48

Closed
ivmarkov wants to merge 1 commit into
masterfrom
remove-bump-alloc
Closed

ivmarkov wants to merge 1 commit into
masterfrom
remove-bump-alloc

Conversation

@ivmarkov

@ivmarkov ivmarkov commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

@ivmarkov
ivmarkov force-pushed the remove-bump-alloc branch 2 times, most recently from 13d0b9b to 75540de Compare September 17, 2026 12:08
@github-actions

Copy link
Copy Markdown

PR #48: Size comparison from 25113f9 to 75540de

Full report (2 builds for light, light_eth)
platform target config section 25113f9 75540de change % change
light x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 2695792 2686176 -9616 -0.4
RAM 77536 54016 -23520 -30.3
light_eth x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 1978728 1970812 -7916 -0.4
RAM 72536 49016 -23520 -32.4

@github-actions

Copy link
Copy Markdown

PR #48: Size comparison from 25113f9 to b8f8032

Full report (2 builds for light, light_eth)
platform target config section 25113f9 b8f8032 change % change
light x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 2695792 2686384 -9408 -0.3
RAM 77536 54016 -23520 -30.3
light_eth x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 1978728 1971004 -7724 -0.4
RAM 72536 49016 -23520 -32.4

@ivmarkov

Copy link
Copy Markdown
Collaborator Author

UPDATE: NOT IDEAL. This PR makes rs-matter-stack to consume extra ~ 7-11K of memory which cannot be reclaimed, and the futures - by returning their very large on-stack footprint - become a pitfall again.

For now, I'll close.

@ivmarkov ivmarkov closed this Sep 19, 2026
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.

1 participant