[pgjdbc/pgjdbc] f46c86: perf: avoid BaseQueryKey.toString inCachedQuery.g...

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема [pgjdbc/pgjdbc] f46c86: perf: avoid BaseQueryKey.toString inCachedQuery.g...
Дата
Msg-id 5b3694b17b762_74952ac13fe5fc1011230@hookshot-fe-7191cb1.cp1-iad.github.net.mail
обсуждение исходный текст
Список pgsql-jdbc
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.

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: insert function runs forever if connection is lost, keeping thetable locked
Следующее
От: Vladimir Sitnikov
Дата:
Сообщение: [pgjdbc/pgjdbc] 177f63: perf: improve performance of replacing JDBC{...} ...