Hi,
Somebody noticed this on Netbeans. I did a few my tests of my own and
found similar results. Is this a known issue? Very contrary to the docs.
Sandeep Randhawa
Sandeep Randhawa wrote:
>
> <?xml encoding="UTF-8" ?>
>
> If there is no specific reason to use "utf-8", stick with "us-ascii".
> Parsing is faster. Also, I noticed all of Netbeans Settings are stored
> without encoding attribute in the prolog. Xerces defaults to "utf-8" if no
> encoding attribute is present. So for Petr Nejedly, add the attribute in
the
> prolog, we might catch a few more milliseconds.
I tried it, but with the opposite results.
I made a simple test that created a filesystem over all the modules
layers (it is a part of IDE startup sequence) and measured the time.
Then I replaced all the encoding="UTF-8" with us-ascii and added
it where it was missing and the parsing was slower then, but not much.
so I guess we could stick with using utf-8.
--
Petr Nejedly
NetBeans/Sun Microsystems
http://www.netbeans.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]