Currently, Byond_New takes a really long time if you pass string arguments. It would be nice if this could be sped up for known paths.
Quote from Lummox:
Lummox JR — Today at 09:32
new() calls the same function internally.
The internal text2path() caches all string-to-path lookups, so it really ahould be quite fast after the initial lookup.
That said, I might be able to goose that with a quick fill of the lookup structure on server start, since all ProtoObjs already know their type string.
I suspect what you're seeing is entirely from cache misses.
ID:2935016
Jun 30, 10:31 pm
|
|||||||
Resolved
| |||||||
Jun 30, 11:23 pm
|
|
I'd also love if we had a ByondAPI proc like "Byond_Text2Path" that allows executing it without calling into a soft code proc.
|