-
Notifications
You must be signed in to change notification settings - Fork 376
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
Randomized string concat #216
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, @alekseyl first of all sorry for the long delay.
Thank you for the time you spent on this, it looks good
I just left some minor comments, let me know what you think 👍
Co-authored-by: Juan Vásquez <[email protected]>
Co-authored-by: Juan Vásquez <[email protected]>
Co-authored-by: Juan Vásquez <[email protected]>
Co-authored-by: Juan Vásquez <[email protected]>
Co-authored-by: Juan Vásquez <[email protected]>
Thnx @JuanVqz, no worries for the delay :). I've commited suggested! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alekseyl, Thank you for your contribution, it looks good 👍
@mateusdeap could you please have a look to merge it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@etagwerker Hi Ernesto! Sorry for the delayed answer. The problem is it will not look as good as we migh expect, because of a randomization )). It will show a much bigger variance (20-30-40% I can't recall properly) over relatively "small" difference. I might give it a try one more time, but can't promise that it will be soon enough :(. I need an inspiration to dive in to that river again ))). |
Can we also add: [foo, bar].join It would also make sense to check if there will be different results with more than 2 strings to concatenate. Also, would be nice to see performance comparison of cases like: "#{foo}-#{bar}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alekseyl Looks good, thank you!
proposition for #158 fix.