Skip to contentSkip to conversation

Optimize the resource overlap check

PATCH Ram Pai 2 participants 2 messages Apr 13, 2012 – Apr 15, 2012 1 message not in the archive PCI

lore
Share & tools
lore
#2 lore raw

Bjorn

Would you mind take a look at this one?

Quoted 11 lines · Ram Pai
Quoted 7 lines · Wei Yang

In coalesce_windows() it tries to check whether the res1 and res2 overlap. This function do four comparisons, which could be done with one comparisons.

Also make the resource_check_overlap() a common function for others.

Signature · 2 lines
Richard Yang
Help you, Help me