[DGD] FLS
Felix A. Croes
felix at dworkin.nl
Thu Oct 5 08:36:49 CEST 2017
Blain <blain20 at gmail.com> wrote:
> I implemented the this_user idea in the kernellib's TLS implementation, but
> there was no easy way to tell if the setting corresponding to a given frame
> is expired. So thus the FLS idea was born.
>
> If DGD could supply a null element before the first arg, all else could be
> handled by the lib. The current klib's implementation of TLS could also be
> made to use this instead of having to create wrappers for entry-level
> functions in driver.c to basically do the same thing (except with only
> frame 0).
This_player() functionality has been implemented entirely in LPC before,
without using FLS or even TLS, and that implementation was even more
efficient than what you described since it doesn't involve looping
over frames. I see no reason to hack DGD for it.
Regards,
Felix Croes
More information about the DGD
mailing list