Issue 11576

Title
Avoid copying ids in reduce_ids
Priority
feature
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2022-06-21.08:54:46 by ced, last changed 3 weeks ago by roundup-bot.

Messages

New changeset 0033c7cdaacf by Cédric Krier in branch 'default':
Do not copy ids in reduce_ids
https://hg.tryton.org/tryton-env/rev/0033c7cdaacf
New changeset acaa8d722fa1 by Cédric Krier in branch 'default':
Do not copy ids in reduce_ids
https://hg.tryton.org/trytond/rev/acaa8d722fa1
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-06-21.08:54:46

We copy the ids just because the assert may consume the iterable before we convert to integer. We could avoid this copy by doing the assert during the conversion loop.

History
Date User Action Args
2022-07-18 00:24:07roundup-botsetmessages: + msg77409
2022-07-18 00:24:00roundup-botsetmessages: + msg77408
nosy: + roundup-bot
status: testing -> resolved
2022-06-21 09:01:06reviewbotsetmessages: + msg77160
nosy: + reviewbot
2022-06-21 08:56:06cedsetkeyword: + review
reviews: 413331003
status: in-progress -> testing
2022-06-21 08:54:46cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)