Ostrich Algorithm - Trade-offs

Trade-offs

  • Convenience
  • Correctness

It is one of the methods of dealing with deadlocks. Other methods are: avoidance (banker's algorithm), prevention, detection and recovery.

Some algorithms with poor worst-case performance are commonly used because they only exhibit poor performance on artificial cases that do not occur in practice; typical examples are the simplex algorithm and the type-checking algorithm for Standard ML. Issues like integer overflow in programming languages with fixed-width integers are also frequently ignored because they occur only in exceptional cases that don't arise for practical inputs.

Read more about this topic:  Ostrich Algorithm

Famous quotes containing the word trade-offs:

    Realistic about how much one person can accomplish in a given day, women expect to have to make some trade-offs between work and family. Families, however, have absorbed all the stress and strain they possibly can. The entire responsibility for accommodation is taking place on the home side of the equation.
    Deborah J. Swiss (20th century)

    Work-family conflicts—the trade-offs of your money or your life, your job or your child—would not be forced upon women with such sanguine disregard if men experienced the same career stalls caused by the-buck-stops-here responsibility for children.
    Letty Cottin Pogrebin (20th century)