best method for optimize many NPC movement?

What is this and how does it impreove performance?