On 02/03/10 11:17 +0100, Cédric Krier wrote:
> On 02/03/10 11:15 +0100, Cédric Krier wrote:
> > On 02/03/10 11:13 +0100, Chenal Bertrand wrote:
> > > Le 02/03/10 11:04, Cédric Krier a écrit :
> > > > On 02/03/10 10:51 +0100, Chenal Bertrand wrote:
> > > >> What about usage performance in Tryton, is there a big difference
> > > >> (thinks may have changed, the effbot post is rather old)?
> > > >>      
> > > > It is difficult to measure.
> > > > Here is an other benchmark http://codespeak.net/lxml/performance.html
> > > > You can see that cElementTree is faster for parsing but slower for
> > > > serializing.
> > > >
> > > >    
> > > >> IMO, and because the release deadline is getting closer, this patch can
> > > >> wait and be integrated in the trunk after the release (and I don't like
> > > >> the monkey-patch with stuffs coming from a dev branch).
> > > >>      
> > > > This monkey-patch is not so bad because it replace an all module and it 
> > > > keeps
> > > > backward compatibility with the current module.
> > > >
> > > >    
> > > Yes, I know but my concern is about the reliability if this code. But 
> > > IIRC views are tested by the unit test suite.
> > 
> > Currently, the xpath expression used in Tryton are really simple and almost
> > all the same because we have unique id or name attribute on all tags.
> 
> But the current patch is unuseful if we don't make the same in relatorio.

I will put this patch in standby because I tried to make the same for
relatotio but it is quite complicated. I will focus on other stuffs.
If someone wants to continue the work on relatorio I can send him my current
work.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpc3xPBxzPdL.pgp
Description: PGP signature

Reply via email to