Click here to Skip to main content
15,798,826 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I heard that Windows 8 Phone apps must be type-safe MSIL to be placed in the Windows App Store. Is this right? And what about Windows 10 UWP? I need to use fast unsafe code with pointers in my UWP app, but I don't know if there any limitations for Windows Store programs.

What I have tried:

public unsafe scale(float* s, int n)
    float * l = s + n;

    while (s < l)
        *s++ *= 0.25f;
Updated 1-Aug-17 19:49pm
virusstorm 3-Aug-17 9:26am    
You might want to check out this thread:

Doing pointer manipulation doesn't guarantee fast code, you may want to take a step back and look for other performance problems that are forcing you into pointer manipulation.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900