optimize , remove unnecessary attribute detecting in rock function
Merge pull request #1 from ikitty/master

optimize , remove unnecessary attribute detecting in rock function