If you are implementing a compiler in PLY, the compilation may take longer - but that's irrelevant the execution speed of your program.
For example, you could use PLY to write a C compiler. The compiler may or may not be faster than your other C compiler, but the resulting executable should run at a similar speed (unless you miss a lot of optimisations etc.)