you are viewing a single comment's thread
view the rest of the comments
[–] 12 points 1 year ago (5 children)

Would this lead to problems if there are multiple identical and close by values? Like for example you have 100 elements each between 1 and 5

  • source
  • hideshow 5 child comments
  • [–] 33 points 1 year ago (3 children)

    To reduce the chance of errors, you can multiply all numbers by a factor of 10, 100, 1000, 10000, .... for the timeout. The higher the factor, the lower the chances of an incorrect result. And as no one asked about performance...

  • source
  • parent
  • hideshow 3 child comments