
  If I have a parallel circuit of 2 resistances, both zero Ohm, the current would split to 2 and each current would be half. 


"Zero ohms" is an idealization. If you say you have two zero-ohm resistors in parallel, it just means your model is not accurate enough to determine how the current is split.


  If the resistor R1 would be 1 pico Ohm, and the ammeter zero Ohm, there would be no current through the resistor, and all the current would go through the ammeter?


If "zero ohms" means much much less than 1 picoohm, then yes, essentially all the current would go through the ammeter.

But real ammeters have burden resistance that's much much more than a picoohm (more like a few milliohms).


  2) Ohms law.
  R2 is 10 Ohm, current is 1A.
  voltage between point A and B is 0 volt, resistance between A and B is 0 Ohm,
  according to Ohms law, I = V / R = 0 / 0 = 0 A.


You have a false conclusion. Zero divided by zero is not zero. It is an undetermined value. Could be zero or could be infinite, depending on the situation.

To analyze this circuit, restate Ohm's law as V = I R. You know the current is 1 A due to the other circuit elements. You know the voltmeter doesn't pass current. Therefore there's 1 A passing from B to A, and because it's a perfect wire, the voltage is zero.

Parallel circuit and Ohms law
If I have a list of key values from 1 to 100 and I want to organize them in an array of 11 buckets, I've been taught to form a mod function

$$ H = k \bmod \ 11$$

Now all the values will be placed one after another in 9 rows. For example, in the first bucket there will be $0, 11, 22 \dots$. In the second, there will be $1, 12, 23 \dots$ etc.

Let's say I decided to be a bad boy and use a non-prime as my hashing function - take 12.
Using the Hashing function

$$ H = k \bmod \ 12$$

would result in a hash table with values $0, 12, 24 \dots $ in the first bucket, $1, 13, 25 \dots$ etc. in the second and so on.

Essentially they are the same thing. I didn't reduce collisions and I didn't spread things out any better by using the prime number hash code and I can't see how it is ever beneficial.
