Now I'm at a bottleneck.. Inside one of my dynamically-created procedures, I
need to access a sequence of tuples, dynamically created earlier in the AST
tree.
Is this horrible to do? Nim is giving me a warning about being non-GC-safe, but
all I'm doing is using the sequence to know which procs to run. For instance,
in the below code, asset_def_nau is a sequence of tuples (same structure as
_seq_test_ from above post 1) and runs my procs.
for i in asset_def_nau:
mynaut = i[3](chart)
echo "result = ", mynaut
So before I just turn-off the warning, is it safe to do so? I'm NOT changing
the asset_def_nau sequence, but do need to iterate it.
Thanks.. please bear with me as I'm a nim newbie.