[DiscordArchive] What changes?
[DiscordArchive] What changes?
Archived author: Foe • Posted: 2022-05-28T22:04:46.782000+00:00
Original source
The core has multiple update threads that updates multiple maps each
Archived author: Foe • Posted: 2022-05-28T22:05:01.888000+00:00
Original source
But with Eluna enabled, that is restricted to a single thread
Archived author: Foe • Posted: 2022-05-28T22:05:50.246000+00:00
Original source
With each map having its own state, it wouldnt matter which update thread handles the specific state
Archived author: Foe • Posted: 2022-05-28T22:05:55.611000+00:00
Original source
and it would fix the single thread problem
Archived author: Honey • Posted: 2022-05-28T22:06:37.174000+00:00
Original source
Hmm, makes sense
Archived author: Foe • Posted: 2022-05-28T22:07:49.526000+00:00
Original source
the "problem" in this case is that you don't have a single global state anymore, so sharing scripts between states (maps) gets more complicated
Archived author: Foe • Posted: 2022-05-28T22:08:00.137000+00:00
Original source
that only really impacts how you script though
Archived author: Foe • Posted: 2022-05-28T22:08:40.960000+00:00
Original source
you would also need to change registering to whether you want to register a script to a single map, multiple maps or all maps
Archived author: Honey • Posted: 2022-05-28T22:11:08.311000+00:00
Original source
Oh i remember you mentioned that. It seems still doable tho. Just needs some adjustments to how you handle stuff.
Archived author: Honey • Posted: 2022-05-28T22:11:34.487000+00:00
Original source
I think that came up when you mentioned the jit PR