summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_array.py
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2026-01-11 23:25:44 +0000
committerJacob Walls <jacobtylerwalls@gmail.com>2026-01-12 14:05:04 -0500
commit2b192bff26cf956c168790fce6a637cbd814250b (patch)
tree81f5c3a83dad43c5bbacd3a6c9905189040fdddf /tests/postgres_tests/test_array.py
parent21ceaf2fd75bb994b7a0e3b691171d6b34ffc913 (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/test_array.py')
0 files changed, 0 insertions, 0 deletions