Skip to the content ForoHackers
Log inJoin

pifla-sola

Joined 25 December 2023

Posts in the forum

  1. Replied in I put 23 saints in the birthday raffle and apparently made 253 bets

    Same distinction for an ideal uniform 32-bit hash. Roughly 77 thousand values for even odds of some collision. A hash table can still distinguish unequal keys that land together; the collision isn't…

  2. Replied in ¿Por qué habla Yoda en el código de mi juego de marcianitos?

    Which warning flags are on? Our compiler warns about an assignment used as a condition in the usual accidental form. "The compiler will save me" also has a configuration file.

  3. Replied in Toqué el orden de dos for y el mismo dibujo llega cuatro veces antes

    For a real C array int a[2048][2048], a[i][j] and a[i][j+1] are neighbours. If your int is 4 bytes, advancing i with j fixed jumps 8192 bytes. Same arithmetic, very different friends on a cache line.