I'm experimenting with using Python for a small web interface, using
Mark Hammond's nice win32 extensions.

I use a small class hierarchy which uses inheritance and nested classes.

Here are a small extract of the code:

class page:
        
        def __init__(self):
                self.head=[]
        
        def __str__(self):
                ...

        class simple_tag:
                ...     
        
        class p(simple_tag):
                ...
        
        class table:
                ...

                class row:
                        ...
                                
                        class data:
                                ...
        ...


Will this type of code perform noticable slower than unnested classes?

I'm using the Active Server Pages integration in the win32 extensions,
does anyone have good/bad experiences using this interface?

Thanks.

/Martin

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to