Commit 1398f43f authored by Camil Staps's avatar Camil Staps 🐧

Update submodule for performance enhancement

parent f11cbb7f
Pipeline #17225 passed with stage
in 14 minutes and 18 seconds
Subproject commit 0599859319bd62db4b389a9acef9723192a733ca Subproject commit 956cbd5d421b19e2b251522304b4f72c3aa2505a
...@@ -8,6 +8,7 @@ import StdList ...@@ -8,6 +8,7 @@ import StdList
import StdMisc import StdMisc
import StdOrdList import StdOrdList
import StdOverloaded import StdOverloaded
import StdOverloadedList
import StdString import StdString
import StdTuple import StdTuple
...@@ -238,7 +239,7 @@ handle (Just request=:{unify,name,page}) db w ...@@ -238,7 +239,7 @@ handle (Just request=:{unify,name,page}) db w
#! drop_n = fromJust (page <|> pure 0) * MAX_RESULTS #! drop_n = fromJust (page <|> pure 0) * MAX_RESULTS
#! (res,suggs,db) = searchWithSuggestions request db #! (res,suggs,db) = searchWithSuggestions request db
#! suggs = if (isEmpty suggs) Nothing (Just suggs) #! suggs = if (isEmpty suggs) Nothing (Just suggs)
#! results = drop drop_n res #! results = [r \\ r <|- Drop drop_n res]
#! more = max 0 (length results - MAX_RESULTS) #! more = max 0 (length results - MAX_RESULTS)
// Suggestions // Suggestions
#! (db,w) = seqSt #! (db,w) = seqSt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment