Hi,
Consider a server which receives delimiter based string data from client.
It needs to process this data very fast.
Now if its built in C++, one obvious idea would be to put the string on heap
as char* and then pass the pointer around, delimiter separated fields will
be accessed via pointers as well ( <map> of pointers to fields ). this will
mean that there is no extensive performance nor memory consumption.
So how this can be done in the most performance friendly way in .NET
Please let me know if there is more info req on the problem ( this is based
on a real life problem )
Thank you in advance
rawCoder
Consider a server which receives delimiter based string data from client.
It needs to process this data very fast.
Now if its built in C++, one obvious idea would be to put the string on heap
as char* and then pass the pointer around, delimiter separated fields will
be accessed via pointers as well ( <map> of pointers to fields ). this will
mean that there is no extensive performance nor memory consumption.
So how this can be done in the most performance friendly way in .NET
Please let me know if there is more info req on the problem ( this is based
on a real life problem )
Thank you in advance
rawCoder
Comment