Try to optimize takedispatcher to cleardispatcher.

The latter is cheaper and simpler code. In many of the simple ops,
we do not make any kind of call, and thus could never call one of
the defering things (nextsame, etc.)