[Integrated] RFR: storage: cache deserialized values in FileStorage

Erik Helin ehelin at openjdk.java.net
Fri Jun 12 08:08:36 UTC 2020


On Thu, 11 Jun 2020 16:03:15 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> 
> please review this patch that adds caching of the deserialized value to `FileStorage`. There is no point in
> deserializing the same `String` over and over again, the deserialized value will remain the same.
> Testing:
> - [x] Added a new unit test
> - [x] `make test` passes on Linux x64
> 
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: 74c4eda7
Author:    Erik Helin <ehelin at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/74c4eda7
Stats:     54 lines in 2 files changed: 0 ins; 53 del; 1 mod

storage: cache deserialized values in FileStorage

Reviewed-by: rwestberg

-------------

PR: https://git.openjdk.java.net/skara/pull/656


More information about the skara-dev mailing list