J
Jon Gómez
Checked the math, just to be sure .
Only concern: Would it not be possible for a Java implementation to
create Strings that can be accessed at larger indexes than integers
allow, for example, using a non-array implementation? I didn't find any
explicit mention of a length bound for Strings or String literals in JSL
3ed and VM 2ed. Of course, if Strings are implemented using char
arrays, we have the limit you set, because arrays have to be indexed by
integers.
Everyone yet to be born? Perhaps one day man will have invented the
organic or cybernetic enhancements to allow individuals to communicate
efficiently immense strings of characters, only for it to be wasted,
lolspeak having come to reign in true Orwellian style, and thence the
world will come to such a pass that some knave will give their child a
name like ('lol' x (2**34359738368)). Okay, that was quite a stretch... .
Jon.
Only concern: Would it not be possible for a Java implementation to
create Strings that can be accessed at larger indexes than integers
allow, for example, using a non-array implementation? I didn't find any
explicit mention of a length bound for Strings or String literals in JSL
3ed and VM 2ed. Of course, if Strings are implemented using char
arrays, we have the limit you set, because arrays have to be indexed by
integers.
I will do that.
But it may take some time to send.
You should receive it in a few billion years so stay tuned ....
Arne
Everyone yet to be born? Perhaps one day man will have invented the
organic or cybernetic enhancements to allow individuals to communicate
efficiently immense strings of characters, only for it to be wasted,
lolspeak having come to reign in true Orwellian style, and thence the
world will come to such a pass that some knave will give their child a
name like ('lol' x (2**34359738368)). Okay, that was quite a stretch... .
Jon.