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

Add time.Sleep() #19

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Add time.Sleep() #19

merged 2 commits into from
Apr 16, 2024

Conversation

JothamWong
Copy link
Member

Adds the time.Sleep(duration) in milliseconds standard library implementation.

Tested with time yarn booga on

time.Sleep(10000);

image

Note that adding to the standard library increases the min number of words that Ooga needs to operate
@JothamWong
Copy link
Member Author

Have to remember that everytime we add standard library implementations, our Garbage Collection tests that operated on the bare edge need to be updated as well.
A smarter fix is to simply obtain the min number of words required for initialization and then programmatically add that to the number of words for the GC tests but I am not gonna do this right now.

@JothamWong JothamWong merged commit a87a161 into main Apr 16, 2024
1 check passed
@JothamWong JothamWong deleted the add-sleep branch April 16, 2024 17:19
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