mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-09 22:30:58 +08:00
Improved code [skip ci]
This commit is contained in:
@@ -813,7 +813,7 @@ IvfflatBeginParallel(IvfflatBuildState * buildstate, bool isconcurrent, int requ
|
|||||||
shm_toc_estimate_chunk(&pcxt->estimator, estivfshared);
|
shm_toc_estimate_chunk(&pcxt->estimator, estivfshared);
|
||||||
estsort = tuplesort_estimate_shared(scantuplesortstates);
|
estsort = tuplesort_estimate_shared(scantuplesortstates);
|
||||||
shm_toc_estimate_chunk(&pcxt->estimator, estsort);
|
shm_toc_estimate_chunk(&pcxt->estimator, estsort);
|
||||||
estcenters = buildstate->centers->itemsize * buildstate->lists;
|
estcenters = buildstate->centers->itemsize * buildstate->centers->maxlen;
|
||||||
shm_toc_estimate_chunk(&pcxt->estimator, estcenters);
|
shm_toc_estimate_chunk(&pcxt->estimator, estcenters);
|
||||||
shm_toc_estimate_keys(&pcxt->estimator, 3);
|
shm_toc_estimate_keys(&pcxt->estimator, 3);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user