12-15-2016, 10:06 AM
The slowest part usually is heap memory allocation.
Assume there are 3 tokens. How many allocations of heap memory:
ARRAY(str): 5.
ARRAY(lpstr): 2.
str*: 3.
lpstr*: 0.
Assume there are 3 tokens. How many allocations of heap memory:
ARRAY(str): 5.
ARRAY(lpstr): 2.
str*: 3.
lpstr*: 0.
