phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
According to Cybah, using python callbacks causes a siginificant decrease in performance. In Caybah's testing removing python callbacks decreased turn times by a factor of 3!
Cybah's Report
The only python callback used by RevDCM is cannot train, specifically the inquisitor cannot train for a specific civic. I'm thinking of creating an XML tag for this in the unit infos in order to remove the need to use this python callback. jdog/glider are you interested in doing this and incorporating it into RevDCM? I'm pretty confident I can get this working (with some help, I believe I will need to set up a vector or an array, which I am unfamiliure with, but there are many helpful programmers here to help out), but I'd like to know if you guys will use it before I roll up my sleeves and dig in.
Cybah's Report
The only python callback used by RevDCM is cannot train, specifically the inquisitor cannot train for a specific civic. I'm thinking of creating an XML tag for this in the unit infos in order to remove the need to use this python callback. jdog/glider are you interested in doing this and incorporating it into RevDCM? I'm pretty confident I can get this working (with some help, I believe I will need to set up a vector or an array, which I am unfamiliure with, but there are many helpful programmers here to help out), but I'd like to know if you guys will use it before I roll up my sleeves and dig in.