I do the character string to make some power of two (16, 32, 64). Is there any customization benefit in doing this for the objects of a column in the string variable, the collection of strings, or the type string in the database? It is in a .net / sql server environment.
Since .NET strings are not null, you actually consume the correct number of characters in each single string To be very clever to do
string message = "Hello world !!!!!"; // Exactly 16 characters
In addition, the strength of the two-string string is only important when your implementation uses "malloc" to complete memory allocation. This is a memory-allocation strategy that says, "My personal bits and fragments of memory will be better in a heap, with less wasted space, if they have two or two power".
but does not use malloc to allocate .NET memory. Instead, all heap memory is allocated by increasing the Hep Pointer, when GC releases memory later, then this pile condensation , So that all new memory comes from the end, and it does not need to find a small fragment of memory within a broken pile.
Comments
Post a Comment