Skip to content

Commit

Permalink
atom->transient
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmacdonald committed Feb 20, 2024
1 parent e5dfbea commit a4b6fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macaw/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
(Specifically, it returns their fully-qualified names as strings, where 'fully-qualified' means 'as found in the query'.)"
[^Statement parsed-query]
(let [column-names (atom #{})
table-names (atom #{})
(let [column-names (transient #{})
table-names (transient #{})
ast-walker (ASTWalker. {:column (fn [^Column column]
(swap! column-names conj (.getColumnName column)))
:table (fn [^Table table]
Expand Down

0 comments on commit a4b6fed

Please sign in to comment.