[DiscordArchive] <@109652764488892416> what are the advantages of using SAI scripts over core scripts other than ease
[DiscordArchive] <@109652764488892416> what are the advantages of using SAI scripts over core scripts other than ease
Archived author: Claudiodfc • Posted: 2021-03-12T11:39:58.369000+00:00
Original source
<@109652764488892416> what are the advantages of using SAI scripts over core scripts other than ease of use?
Archived author: Claudiodfc • Posted: 2021-03-12T11:40:26.317000+00:00
Original source
Does it load faster, compile faster, pressures less the core idk
Archived author: Claudiodfc • Posted: 2021-03-12T11:41:22.911000+00:00
Original source
Because maybe if it's better as SAI then there should be a task to migrate scripts to SAI
Archived author: Shin • Posted: 2021-03-12T11:45:54.439000+00:00
Original source
SAI are easier to understand and maintain compared to C++
Archived author: Claudiodfc • Posted: 2021-03-12T12:08:36.766000+00:00
Original source
Is it worth the time investment on migrating some zone scripts to SAI?
Archived author: Shin • Posted: 2021-03-12T12:29:43.356000+00:00
Original source
it'd focus more on fixing the existing issues and whenever you find something that can be migrated from C++ to SAI while doing that, you can migrate it
Archived author: Shin • Posted: 2021-03-12T12:29:55.341000+00:00
Original source
but I don't think it's worth migrating just for the sake of migrating
Archived author: Claudiodfc • Posted: 2021-03-12T12:30:06.423000+00:00
Original source
thought the same
Archived author: bandysc • Posted: 2021-03-12T12:53:59.122000+00:00
Original source
> Does it load faster, compile faster
SAI doesn't have to be compiled, so it is faster to use and create scripts in it - just update the table in database, reload smart_scripts using builtin command and kill npc to refresh the script. Compared to core compilation + server restart.