Tryton - Issues

 

Issue7705

Title Add cache to Period.find
Priority feature Status chatting
Superseder Nosy List albertca, ced
Type performance Components account
Assigned To Keywords easy
Reviews

Created on 2018-09-18.08:39:57 by ced, last changed by albertca.

Files
File name Uploaded Type Edit Remove
unnamed albertca, 2018-09-18.09:23:15 text/plain
Messages
msg43935 (view) Author: [hidden] (albertca) (Tryton committer) (Tryton translator) Date: 2018-09-18.09:23:15
I agree.

On Tue, Sep 18, 2018, 08:39 Cédric Krier <bugs@tryton.org> wrote:

>
> New submission from Cédric Krier <cedric.krier@b2ck.com>:
>
> This method is often called and the result should be pretty stable (as
> period does not change often). The only drawback is the date parameter but
> I think it does not change too often as it should most of the time be
> today. And it will still be effective if the cache size is big enough.
>
> ----------
> component: account
> keyword: easy
> messages: 43934
> nosy: ced
> priority: feature
> status: unread
> title: Add cache to Period.find
> type: performance
>
> ______________________________________
> Tryton issue tracker <bugs@tryton.org>
> <https://bugs.tryton.org/issue7705>
> ______________________________________
>
msg43934 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-09-18.08:39:56
This method is often called and the result should be pretty stable (as period does not change often). The only drawback is the date parameter but I think it does not change too often as it should most of the time be today. And it will still be effective if the cache size is big enough.
History
Date User Action Args
2018-09-18 09:23:16albertcasetfiles: + unnamed
status: unread -> chatting
messages: + msg43935
nosy: + albertca
2018-09-18 08:39:57cedcreate

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