Addition

Addition is a mathematical operation that represents combining collections of objects together into a larger collection

Modulo

The modulo (sometimes called modulus) operation finds the remainder of division of one number by another

Higher precedence operator

Operations important slower

Quality | Example |
---|---|

Much cheaper |
"The addition is much cheaper than other operations like modulo and division and array access" from question "Huge performance drop with increment by one" |

Slower integer |
"Integer multiplication division and modulo are much slower than integer addition and subtraction" from question "Haskell style/efficiency" |

Slower |
"Then you can process any length number using very few division remainder modulo operations which is important because they are much slower than addition" from question "Divide a large number represented in string by 3" "Division and modulo are indeed costly hardware operations whatever you do this is more related to hardware architecture than to languages or compilers perhaps ten times slower than addition" from question "Alternative to using % operator and / Operator in C++" |

Others

Quality | Example |
---|---|

Weaker |
"Is the modulo really weaker than the addition" from question "Java modulo operator precedence" |

Better |
"The result of the addition was better than the modulo the by 0.0070000 milliseconds over the course of 2 million or 200 000 iterations" from question "What is the more efficient syntax to produce an even number in my console project?" |