[DiscordArchive] why map update?
[DiscordArchive] why map update?
Archived author: Dep • Posted: 2022-02-08T14:32:17.913000+00:00
Original source
why map update?
Archived author: <o> • Posted: 2022-02-08T14:32:31.566000+00:00
Original source
that's what you're almost always measuring in real live servers
Archived author: Dep • Posted: 2022-02-08T14:32:52.999000+00:00
Original source
oh I read wrong
Archived author: <o> • Posted: 2022-02-08T14:33:44.636000+00:00
Original source
tbh just the fact that .net can actually handle threaded map updates will far beat lua in every way regardless
Archived author: Dep • Posted: 2022-02-08T14:34:35.105000+00:00
Original source
Idk why my floats return 0 from the native api. I'm using using 64bit float `NFloat` on .NET because it says the dll will reply with a 64bit float on x64 build
Archived author: Dep • Posted: 2022-02-08T14:36:21.373000+00:00
Original source
the `Tasks` system is pretty good for scripting I imagine
Archived author: Dep • Posted: 2022-02-08T14:36:45.963000+00:00
Original source
as you can do delays and the like which yield the thread and return with a thread pool thread later
Archived author: Dep • Posted: 2022-02-08T14:36:57.338000+00:00
Original source
instead of blocking anything
Archived author: <o> • Posted: 2022-02-08T14:40:21.389000+00:00
Original source
i'm not sure if that's sane to do from a map update (where most events will fire) since you're already inside a thread pool, but you could always stuff a bunch of stuff into the delayed (single-threaded) update
Archived author: <o> • Posted: 2022-02-08T14:41:54.261000+00:00
Original source
in tswow, we've designed our async systems to always let the core drive the updates for us, and generally disallow any kind of persistent state across async operations