mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Use a hash set.
This commit is contained in:
parent
084a56e004
commit
0b09f5f1e8
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class TaskManager @Inject constructor(val args: Args,
|
|||
if (task != null && accept(task)) {
|
||||
val toProcess = arrayListOf(task)
|
||||
val seen = hashSetOf<String>()
|
||||
val newToProcess = arrayListOf<T>()
|
||||
val newToProcess = hashSetOf<T>()
|
||||
|
||||
fun maybeAddEdge(task: T, mm: Multimap<String, String>, isDependency: Boolean,
|
||||
reverseEdges: Boolean = false) : Boolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue