Lugatod

Results 6 issues of Lugatod

The inlining mechanism seems to not fully work on this kind of example ``` simit func A() end func B A(); end func C map B() on elems; end ```...

performance bug

Global const should be initialized with some computation, the same way as it is possible to do inside a func : `const twelfth = 1.0 / 12.0 ;` The simit...

Adding loop fusion in the generated code may improve performance. Especially when dealing with loops on `elems`, `nodes`, ...

In order to avoid these kind of if-then-else : > if booleanCondition > variable = TrueValue > else > variable = FalseValue > end Is it possible to add a...

Take this example : > func Sum(a:float)->r:float > r=3.0; > end > func TestSum(q:Quad)->a:vector[quads](float) > a(q)=Sum(a(q)); > a(q)=Sum(a(q)); > end` and then map this function > a=map TestSum to quads...

Let's add new intrinsics functions on floats : `abs` and `cbrt` `max` and `min` will aslo be very useful : > max(a:float,b:float) > max(a:vector(float)) > max(a:vector(float),b:vector(float)) Even though `max` and...