Made a nice optimization for Model.objects.bulk_create() with fields using db_default, ~12% in one quick benchmark:
Made a nice optimization for Model.objects.bulk_create() with fields using db_default, ~12% in one quick benchmark:
If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/adamchainz/statuses/115884106742062522 on your instance and quote it. (Note that quoting is not supported in Mastodon.)