I totally agree with your choice of library, I do think YUI produces very good code.
However, I also think too many people fail to undersand the power or limitations of Javasacript itself. eg: outside of the libraries, when do you see good functional code?
JSTR is the only tool I have found that actually benchmarks javascript snippets and allows you to optimize you code properly, or to choose the correct code for the purpose.