For some dummy functions, an โexact numericalโ call can also be very slow. The example of finding FixedPoint[Sqrt,2.] FixedPoint[Sqrt,2] fast, but FixedPoint[Sqrt,2] will work until something breaks!
By "exact number" I mean things like Integers , Rationals and numeric characters like Sqrt[2] , Cos[5] , Pi , EulerGamma , etc.
that is, things that return a numerical value under the action of N[] .
In this case, it is probably better to use
dummy[_?InexactNumberQ] := ....
or even
dummy[_?MachineNumberQ] := ....
Simon source share