https://bugzilla.wikimedia.org/show_bug.cgi?id=55329
--- Comment #7 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- I haven't need luck because I am not going to do big works, just silly adaptation of already written code (with loss of performance). If you are interested to work on this problem in a different way you are welcome (and not only in this open project). Anyway it's nice to see you have analysed the situation a bit.
The changed version should be safe, without regression cases. I will see to document performace loss.