diff options
| author | Adam Johnson <me@adamj.eu> | 2026-01-11 23:25:44 +0000 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-01-12 14:05:04 -0500 |
| commit | 2b192bff26cf956c168790fce6a637cbd814250b (patch) | |
| tree | 81f5c3a83dad43c5bbacd3a6c9905189040fdddf /tests/postgres_tests | |
| parent | 21ceaf2fd75bb994b7a0e3b691171d6b34ffc913 (diff) | |
Fixed #36858 -- Optimized `Field._get_default()` for `db_default` case.
Create and share a single instance of `DatabaseDefault` instead of making a new
one each time the lambda is called. The quick benchmark on the ticket shows a
~12% speedup for a large `bulk_create()` operation.
Diffstat (limited to 'tests/postgres_tests')
0 files changed, 0 insertions, 0 deletions
