Re: Suggestion : Use unique string type instead of two (short and long)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Suggestion : Use unique string type instead of two (short and long)
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2019年6月17日 12:36:46 -0300
> If we don’t need string interning, the next pointer in TString is
> useless, so I think maybe no more overhead.
If we will have only one kind of string, we cannot store its length in a
byte. So, we need that field for the length.
-- Roberto