multiplications not faster than divisions

This commit is contained in:
joep van der velden
2020-05-19 13:02:50 +02:00
parent 401fa0ebe5
commit 870297b2f8
+1 -1
View File
@@ -479,7 +479,7 @@ in the SQL/updates folder.
* You are expected to help maintain the code that you add, meaning that if there is a problem then you are likely to be approached in order to fix any issues, runtimes, or bugs.
* Do not divide when you can easily convert it to multiplication. (ie `4/2` should be done as `4*0.5`)
* Multiplications are not significantly faster than divisions. Use whichever operation makes the code more readable.
* If you used regex to replace code during development of your code, post the regex in your PR for the benefit of future developers and downstream users.