retrievaaaa

Results 51 comments of retrievaaaa

Same problem. I store the model in a json, try to load it, but it just fails with the same error.

![image](https://user-images.githubusercontent.com/49924528/94621453-9effdc80-02b0-11eb-9355-37da60156b6e.png) ![image](https://user-images.githubusercontent.com/49924528/94621497-b4750680-02b0-11eb-90e2-4e16a8f8cc21.png)

After further inspection, this seems to be caused by this: https://github.com/CosmosOS/IL2CPU/blob/12172758af82ba2c9673fcd1688c5a3d7aa8a97a/source/Cosmos.IL2CPU/IL/Conv_R4.cs After checking the generated DLLs. I can confirm that conv.r4 is used in the DLL, with int32 and uint32.

This can be fixed by doing ``` int temp = (int)stbtt__cff_int(&b); f = temp; ``` instead of ``` f = (Int32)stbtt__cff_int(&b); ```

Its probably cause Roslyn optimized out the cast, because it believes uint32 is directly castable to float (which is true in regular C#) so I believe support for that should...

ah, sorry for the late reply but yep, its working now!

Even normal concatination also seems to have this problem despite your results, which might explain my OS constantly leaking memory over time, especially when doing stuff with strings. ![image](https://user-images.githubusercontent.com/49924528/224580314-ef18a4d0-18e6-4843-8152-6a4ee7119148.png)

> > Even normal concatination also seems to have this problem despite your results, which might explain my OS constantly leaking memory over time, especially when doing stuff with strings....

Your example does not do a lot of concatenation unlike mine, which does around 1024 concatenations per round. There are no other factors that could be leaking there considering I...