Optimized some slow parts of the engine.
Last low hanging fruit: parsing is slow, cache parsed calculations
This commit is contained in:
@@ -29,14 +29,10 @@ import removeSchemaFields from './buildComputation/removeSchemaFields.js';
|
||||
* computed toggles
|
||||
*/
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* compute class levels
|
||||
*/
|
||||
|
||||
export default function buildCreatureComputation(creatureId){
|
||||
const properties = getProperties(creatureId);
|
||||
return buildComputationFromProps(properties);
|
||||
const computation = buildComputationFromProps(properties);
|
||||
return computation;
|
||||
}
|
||||
|
||||
function getProperties(creatureId){
|
||||
|
||||
Reference in New Issue
Block a user