Skip to content

Improving implementation of Random >> next #17835

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

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

tesonep
Copy link
Collaborator

@tesonep tesonep commented Feb 17, 2025

Converting to float before the operation makes it 1.5 times faster, and does not allocate a fraction.

@Ducasse Ducasse merged commit 965eec3 into pharo-project:Pharo13 Feb 17, 2025
1 check failed
@guillep guillep deleted the improving-random-next branch February 18, 2025 08:23
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