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

Applying "i" modifier #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Applying "i" modifier #2

wants to merge 2 commits into from

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