Replace big chain of if/thens in epoll.c with a table lookup This should save a bunch of branches by doing instead a lookup in a nice static table. To ensure correctness, the table is generated from a Python script, included with this commit.