Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: f46c86a1a812ceaf2c95eb8bfc1acdc51b9122df
https://github.com/pgjdbc/pgjdbc/commit/f46c86a1a812ceaf2c95eb8bfc1acdc51b9122df
Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Date: 2018-06-29 (Fri, 29 Jun 2018)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/BaseQueryKey.java
M pgjdbc/src/main/java/org/postgresql/core/CachedQuery.java
M pgjdbc/src/main/java/org/postgresql/core/QueryWithReturningColumnsKey.java
Log Message:
-----------
perf: avoid BaseQueryKey.toString in CachedQuery.getSize (#1227)
LruCache uses .getSize to limit the size of the cache, so this method
should refrain from doing memory allocations.
closes #1226
**NOTE:** This service been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.