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
import StdMisc
import StdOrdList
import StdOverloaded
import StdOverloadedList
import StdString
import StdTuple
......@@ -238,7 +239,7 @@ handle (Just request=:{unify,name,page}) db w
#! drop_n = fromJust (page <|> pure 0) * MAX_RESULTS
#! (res,suggs,db) = searchWithSuggestions request db
#! 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)
// Suggestions
#! (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