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

refactor/perf: Eliminate redundant string casting in random_gen utility #455

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

roramirez
Copy link
Contributor

Describe the change
In the random_gen utility, the gen_slug and gen_string methods already return string values, rendering the additional casting operations unnecessary.

PR Checklist

roramirez and others added 2 commits October 17, 2023 11:56
In the random_gen utility, the gen_slug and gen_string methods already
return string values, rendering the additional casting operations
unnecessary.
Copy link
Collaborator

@amureki amureki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, many thanks for this fix!

It makes total sense, funny how it went unnoticed until now.

@amureki amureki merged commit 7b5c938 into model-bakers:main Oct 26, 2023
10 checks passed
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