mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Merge #635
635: Use an unstable algorithm for `grenad::Sorter` when possible r=Kerollmops a=loiclec # Pull Request ## What does this PR do? Use an unstable algorithm to sort the internal vector used by `grenad::Sorter` whenever possible to speed up indexing. In practice, every time the merge function creates a `RoaringBitmap`, we use an unstable sort. For every other merge function, such as `keep_first`, `keep_last`, etc., a stable sort is used. Co-authored-by: Loïc Lecrenier <loic@meilisearch.com>
This commit is contained in:
		@@ -17,7 +17,7 @@ flatten-serde-json = { path = "../flatten-serde-json" }
 | 
			
		||||
fst = "0.4.7"
 | 
			
		||||
fxhash = "0.2.1"
 | 
			
		||||
geoutils = "0.4.1"
 | 
			
		||||
grenad = { version = "0.4.2", default-features = false, features = ["tempfile"] }
 | 
			
		||||
grenad = { version = "0.4.3", default-features = false, features = ["tempfile"] }
 | 
			
		||||
heed = { git = "https://github.com/meilisearch/heed", tag = "v0.12.3", default-features = false, features = ["lmdb", "sync-read-txn"] }
 | 
			
		||||
json-depth-checker = { path = "../json-depth-checker" }
 | 
			
		||||
levenshtein_automata = { version = "0.2.1", features = ["fst_automaton"] }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user