Hey everyone.
So I've been working with pointers and I was wondering what's faster and if their are any alternative methods that might speed up my server.
1. Buffer.BlockCopy VS an unsafe for loop.
2. Encoding.ASCII.GetString VS an unsafe for loop with System.Convert.ToChar
3. Marshal.AllocHGlobal VS ??
I'm in class so I'll check back later.
Cyah.
Sincerely,
Fang
So I've been working with pointers and I was wondering what's faster and if their are any alternative methods that might speed up my server.
1. Buffer.BlockCopy VS an unsafe for loop.
2. Encoding.ASCII.GetString VS an unsafe for loop with System.Convert.ToChar
3. Marshal.AllocHGlobal VS ??
I'm in class so I'll check back later.
Cyah.
Sincerely,
Fang