On Thu, 2007-07-12 at 20:44 +0000, Kirill Subbotin wrote:
> +    /**
> +    * List of available formats
> +    */
> +    private $availableFormats = array( 'oehtmlinput', 'oehtml', 'ezxmltext', 
> 'docbook', 'xhtml', 'xhtmlbody' );

I know, this is only a prototype, but one hint, when I see this code:

Comparing numeric values is a lot faster then string comparisions, so
that you perhaps may consider using constants, refering to numeric
values here. The same should apply for arrays vs. hash tables.

Even those are really minor speed improvements they may mass someday.

-- 
Mit freundlichen Grüßen / Med vennlig hilsen
 
Kore Nordmann (GPG: 0xDDC70BBB)
eZ Components Developer
eZ systems Headquaters

tel +49 (0) 231-9742-7750 | fax +49 (0) 231-9742-7751
[EMAIL PROTECTED] | eZ systems | ez.no

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to