Cole
Newbie
- Joined
- Jan 19, 2004
- Messages
- 6,430
- Reaction score
- 1
I have a question. I am sending data from a C++ dll to a C# program. Now I want to use all safe code so no pointers or anything can be involved here.
Should I use an int based or string based system?
An int based would require maybe 6 different turns per trigger(0 - 1000 trigger).
A string based system I could return everything all at once.
The string length might be 10 - 13 letters long per trigger.
What im asking is, what would be faster? Having a function be called 6 times as int's or pack all the data as a string for one return?
Should I use an int based or string based system?
An int based would require maybe 6 different turns per trigger(0 - 1000 trigger).
A string based system I could return everything all at once.
The string length might be 10 - 13 letters long per trigger.
What im asking is, what would be faster? Having a function be called 6 times as int's or pack all the data as a string for one return?