Optimize asCBuilder::ValidateVirtualProperty

Started by
1 comment, last by WitchLord 2 years, 5 months ago

When changing asEP_PROPERTY_ACCESSOR_MODE from 2 to 3, I realized that when there are a LOT of script functions (my application has almost 100k) this code takes a very long time, up to 5 minutes on a debug build: https://github.com/codecat/angelscript-mirror/blob/9f52c1d1fb4e73a781f26d1ce9a944dd71f7459a/sdk/angelscript/source/as_builder.cpp#L1795-L1838

I noticed there's a //TODO there, so I assume it's already on your radar, but just figured I'd mention it's something I ran into.

Advertisement

Indeed, I knew the current code is inefficient. But I didn't have an application with ~100K functions to understand just how inefficient it is. ?

I'll see if I can get this done for the next release.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement