May be not what you are looking for. Have you checked whether you really need this and other added functionaly in later versions of Moodle? 1.6 is still maintained and as you and others have observed an order of magnitude faster!
Hardware and performance
Why "role_assign()" && "role_unassign()" takes so much time to execute...?
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.