Replace string/hash based execution out look up for indices, 10-50% speed up in lookup code. Fix bugs calling dependent functions.

This commit is contained in:
chcurran
2021-04-20 12:04:57 -07:00
parent f4a57663fa
commit 961f2ef113
46 changed files with 12336 additions and 271 deletions
@@ -41,11 +41,11 @@ namespace ScriptCanvasEditor
if (AZ::SerializeContext* serializeContext = azrtti_cast<AZ::SerializeContext*>(reflectContext))
{
serializeContext->Class<CreateFunctionMimeEvent, CreateNodeMimeEvent>()
->Version(4)
->Version(5)
->Field("AssetId", &CreateFunctionMimeEvent::m_assetId)
->Field("sourceId", &CreateFunctionMimeEvent::m_sourceId)
;
}
}
CreateFunctionMimeEvent::CreateFunctionMimeEvent(const AZ::Data::AssetId& assetId, const AZ::Data::AssetType& assetType, const ScriptCanvas::Grammar::FunctionSourceId& sourceId)