optimize the algorithm

at most time, entries(seajs.use and etc.) will be single, multi-entries
rarely to come