Skip to content

Commit

Permalink
Optimize multi_insert and remove const generic
Browse files Browse the repository at this point in the history
This changes `multi_insert` to a two-phase flow.
First, do a bulk-insert with fixed-sized chunks, then afterwards, insert the remainders one-by-one.

Along with this change, it also removes the const generic from `Insertable`, rather changing the `extend_params` to work on an out-parameter instead.
  • Loading branch information
Swatinem committed Jul 30, 2024
1 parent c0a4b65 commit e970815
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 155 deletions.
Loading

0 comments on commit e970815

Please sign in to comment.