Why did you create a MP for this? As you saw from my e-mail, the performance
isn't significantly better as-is.
That said, it might be possible to improve it by, for instance, caching the
casting results; but that would take more investigation.
Your team Zorba Coders is subscribed to branch lp:zorba.
Mailing list: https://launchpad.net/~zorba-coders
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp