A
Arthur Mnev
This is probably beaten to death subject...
Does anyone have a good idea of what penalties are for using Fixed
statement in c#. On one side it allows for much greater flexibility
with casts and array manipulations (i'm leaving access to legacy code
out of the scope of this message) on the other hand fixed statement
does consume resources to execute, not to mention if "everything" is
fixed, then dynamic object reallocation becomes impossible, thus
removing a good portion of .net internal memory management
optimizations. Did anyone have any gains / degradations in large scale
implementation with "fixed" vs. "proper" implementations?
Thx.
Does anyone have a good idea of what penalties are for using Fixed
statement in c#. On one side it allows for much greater flexibility
with casts and array manipulations (i'm leaving access to legacy code
out of the scope of this message) on the other hand fixed statement
does consume resources to execute, not to mention if "everything" is
fixed, then dynamic object reallocation becomes impossible, thus
removing a good portion of .net internal memory management
optimizations. Did anyone have any gains / degradations in large scale
implementation with "fixed" vs. "proper" implementations?
Thx.