3 ms·
This is actually could be a decent optimization if there is only 1 elevator shaft and not a lot of floors- something that bugged me about my old apartment. In
by brianpan 16y ago
This is actually could be a decent optimization if there is only 1 elevator shaft and not a lot of floors- something that bugged me about my old apartment.
In my 3 floor apartment, if you're on the 2nd floor with the down button pressed and someone gets out on your floor while the elevator is heading up, you could have gotten in while the car is stopped and avoided the stop on the way down. However, the call wouldn't cancel until the elevator was actually on the way down and it would stop a 2nd time.