News for hackers. Stuff that matters.
Re:The failure of self-checkout technology by kevincox on Thursday January 18, 2024 @08:12AM (#39041245)
Because you still need to wait for the attendant to come. But you have no chance of scanning other items in parallel. (Assuming you don't know if this store will block scanning)

It is always optimal to scan these first. You have two cases:

Blocking: scan 1 + wait for attendant + scan rest

Non-blocking: scan 1 + max( wait for attendant, scan rest)

The first case is never shorter than the second case.

Re:The failure of self-checkout technology by throw1234651234 on Thursday January 18, 2024 @08:47AM (#39041609)
^ This post is just in case you forgot you were on hacker news.
Re:The failure of self-checkout technology by d1sxeyes on Thursday January 18, 2024 @10:23AM (#39042818)
I agree it's a beautifully crafted response, and have nothing to add, it's exactly what my point was.