Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Applying "i" modifier#2

Open
neroux wants to merge 2 commits intoghuntley:masterfrom
neroux:patch-1
Open

Applying "i" modifier#2
neroux wants to merge 2 commits intoghuntley:masterfrom
neroux:patch-1

Conversation

@neroux
Copy link

@neroux neroux commented Sep 4, 2019

I didnt really run a benchmark, so I wouldnt dare to say it would make any performance difference, but it might be more compact and catch all spelling variants.

I also took the liberty to add the suggestion from https://news.ycombinator.com/item?id=20874138, though I left it commented out as these two terms are rather generic and might appear in many other contexts.

PS: In this hip serverless world, I really appreciate that you are one of those who know how to choose the only correct way to indent code and place braces ;-D +1

PPS: My apologies for not placing a semicolon at the end, that is not because I dont believe there shouldnt be one ;) but most because for the commented replace calls :)

I didnt really run a benchmark, so I wouldnt dare to say it would make any performance difference, but it might be more compact and catch all spelling variants.

I also took the liberty to add the suggestion from https://news.ycombinator.com/item?id=20874138, though I left it commented out as these two terms are rather generic and might appear in many other contexts.

PS: In this hip serverless world, I really appreciate that you are one of those who know how to choose the only correct way to indent code and place braces ;-D +1

PPS: My apologies for not placing a semicolon at the end, that is not because I dont believe there shouldnt be one ;) but most because for the commented `replace` calls :)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant