Please change this to a match with 3 clauses.
rebased as the latest master branch and fix the style problem.
I mean this irrt function then is supposed to be only run with valid input parameters, for checks on things like src_len > dest_len
and throwing exceptions about them, we already have TODO
…
rebased on the latest master branch, and use one list slice assignment function to handle various sizes of list element.
I think then it would be extending the list, and we would later add the check to throw an exception prior to entering this function?
Thanks for the suggestions! Yes I was just a bit worried about constant optimization of the call to __builtin_memcpy
intrinsic as previously I just call it with the size
argument always being a…
ah what about this? might still be a bit less efficient because of the condition but would be more compact.
diff --git a/nac3core/src/codegen/irrt/irrt.c…
Yes indeed there's a lot of code duplication now.. functionality wise all the other ones can be replaced by this, but this one will be a bit slower when step is not 1, since the original assignment…