private fun compute_conflicts(buckets: Map[H, Set[E]]) do
conflicts.clear
for holder, hbuckets in buckets do
for bucket in hbuckets do
if not conflicts.has_key(bucket) then conflicts[bucket] = new HashSet[E]
for obucket in hbuckets do
if obucket == bucket then continue
if not conflicts.has_key(obucket) then conflicts[obucket] = new HashSet[E]
conflicts[bucket].add(obucket)
conflicts[obucket].add(bucket)
end
end
end
end
src/compiler/coloring.nit:498,2--511,4