add some comments on loop.cpp

Signed-off-by: xiaoyu <hanshuoziyan@163.com>