Compilation will not be any faster or slower with the prefix.
Spark not only outputs HTML, but is equally capable of outputting valid XML, and in the latter case, you very often need to qualify your tags to maintain valid XML.
None of this will effect compilation time. It is recommended however, regardless of this, that you precompile your views for production anyway to improve performance.