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.