Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy sweep, not just lazy free() #1440

Open
andychu opened this issue Jan 5, 2023 · 0 comments
Open

Lazy sweep, not just lazy free() #1440

andychu opened this issue Jan 5, 2023 · 0 comments

Comments

@andychu
Copy link
Contributor

andychu commented Jan 5, 2023

This gives the "proper" big-O improvement to O(num live objects), not just O(num allocated objects)

https://oilshell.zulipchat.com/#narrow/stream/121539-oil-dev/topic/TODO.20on.20core.20GC/near/319627427

And note lazy free() was actually pretty significant on the benchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant