Skip to content

Commit

Permalink
correct type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
huahaiy committed Nov 9, 2024
1 parent 60cb923 commit df51912
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/datalevin/query.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
(:import
[java.util Arrays List Collection Comparator]
[java.util.concurrent ConcurrentHashMap]
[clojure.lang ILookup LazilyPersistentVector IFn]
[clojure.lang ILookup LazilyPersistentVector]
[datalevin.utl LikeFSM LRUCache]
[datalevin.db DB]
[datalevin.storage Store]
Expand Down Expand Up @@ -1595,9 +1595,9 @@
[{:keys [attrs-v vars]} ^long size]
(* size
^double c/magic-cost-merge-scan-v
^double (factor c/magic-cost-var (count vars))
^double (factor c/magic-cost-pred (n-items attrs-v :pred))
^double (factor c/magic-cost-fidx (n-items attrs-v :fidx))))
^long (factor c/magic-cost-var (count vars))
^long (factor c/magic-cost-pred (n-items attrs-v :pred))
^long (factor c/magic-cost-fidx (n-items attrs-v :fidx))))

(defn- estimate-base-cost
[{:keys [mcount]} steps]
Expand Down

0 comments on commit df51912

Please sign in to comment.