Skip to content

memory optimization using leaked PyRef<PyStr>#4733

Open
youknowone wants to merge 3 commits into
RustPython:mainfrom
youknowone:static-str-opt
Open

memory optimization using leaked PyRef<PyStr>#4733
youknowone wants to merge 3 commits into
RustPython:mainfrom
youknowone:static-str-opt

Conversation

@youknowone
Copy link
Copy Markdown
Member

@youknowone youknowone commented Mar 20, 2023

in my environment, repl runtime consumes:

before: 6.6MB
after: 6.0MB

the difference is almost same as our doc db.

closes #4731
closes #4732
as included dependency

@youknowone youknowone force-pushed the static-str-opt branch 2 times, most recently from a7a8444 to 94b1f95 Compare March 20, 2023 16:33
@youknowone
Copy link
Copy Markdown
Member Author

i need to find a way to convince miri in safe way

@youknowone youknowone force-pushed the static-str-opt branch 2 times, most recently from fcb4fdb to feb751d Compare March 28, 2023 09:41
@youknowone
Copy link
Copy Markdown
Member Author

@qingshi163 could you review this PR?

@youknowone
Copy link
Copy Markdown
Member Author

uh, failing again. i will look in it.

@youknowone youknowone added C-enhancement New feature or request A-vm Area: virtual machine labels Mar 28, 2023
@youknowone youknowone mentioned this pull request Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-vm Area: virtual machine C-enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant