Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(143)

Issue 184065: Use itertools.chain to improve get on one2many (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 1 month ago by bch
Modified:
16 years ago
Reviewers:
Ian Wilson, ced, yangoon1
CC:
tryton-dev_googlegroups.com
Visibility:
Public.

Description

The construction of ids2 was quadratic, with this patch it should be linear. vengfulsquirrel: Can you tell me if you notice any improvement? TIA

Patch Set 1 #

Patch Set 2 : Apply same improvement on many2many #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M trytond/model/fields/many2many.py View 2 chunks +4 lines, -2 lines 0 comments Download
M trytond/model/fields/one2many.py View 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 8
bch
16 years, 1 month ago (2010-01-11 17:03:04 UTC) #1
bch
16 years, 1 month ago (2010-01-11 17:09:11 UTC) #2
ced
Ok for me
16 years, 1 month ago (2010-01-11 17:30:03 UTC) #3
Ian Wilson
On 2010/01/11 17:30:03, ced wrote: > Ok for me The chain function looks very interesting ...
16 years, 1 month ago (2010-01-11 19:46:40 UTC) #4
ced
On 2010/01/11 19:46:40, Ian Wilson wrote: > On 2010/01/11 17:30:03, ced wrote: > > Ok ...
16 years, 1 month ago (2010-01-11 20:06:22 UTC) #5
bch
16 years, 1 month ago (2010-01-13 13:19:18 UTC) #6
ced
Still OK.
16 years, 1 month ago (2010-01-13 13:24:16 UTC) #7
yangoon1
16 years ago (2010-01-13 16:26:10 UTC) #8

          
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b