top | item 43970768

The Fastest Way yet to Color Graphs

62 points| GavCo | 9 months ago |quantamagazine.org

16 comments

order

tonyarkles|9 months ago

In case you haven't looked at the article, this is looking specifically at the Edge Coloring problem and not the more commonly known Vertex Coloring problem. Vertex Coloring is NP-complete unfortunately.

erikvanoosten|9 months ago

You can convert edge coloring problems into vertex coloring problems and vice versa through a simple O(n) procedure.

phkahler|9 months ago

Is this going to lead to faster compile times? Faster register allocation...

DannyBee|9 months ago

No.

In SSA, the graphs are chordal, so were already easily colorable (relatively).

Outside of SSA, this is not true, but the coloring is still not the hard part, it's the easy part.

john-h-k|9 months ago

Very few compilers actually use vertex coloring for register allocation