Files
tryton/doc/ref
Cédric Krier b3f8d125f9 Use custom class to store record data
By using a class with slots instead of standard dict, we can reduce a lot the
memory usage to store the record data in the caches and values.
Also we can rely on the data in the cache to exist only for real field which
can be used to create a fast path in ModelStorage.__getattr__.
As now storing data in the cache has no extra cost, we can store data from the
transactional cache in the local. This allow also to have a shorter path in
ModelStorage.__getattr__.
For more memory efficiency, we remove the record from the cache instead of
clearing them. It was better to clear a dict but a record is less expensive to
re-instantiate than clearing.

issue9369
issue9225
review297861002
2020-06-13 09:48:03 +02:00
..
2016-07-29 10:46:52 +02:00
2016-07-29 10:46:52 +02:00
2019-08-25 13:00:28 +02:00
2018-03-20 17:27:12 +01:00
2019-12-19 17:36:26 +01:00
2019-04-08 10:10:40 +02:00
2016-03-28 22:40:37 +02:00
2017-10-02 11:38:31 +02:00
2020-03-28 17:13:12 +01:00