Message from JavaScript discussions

June 2017

— Since the point is to use integers, and even moreso to use a pre-allocated typed array (char code 80 is index 80 etc...) that conflicts, or rather presents a challenge, when you increase precision to more than one character

Message permanent page


Since each char code can be between integers 0 through 65535, to represent more than one can be an interesting problem

— How?

— Just nested arrays of size 65535?

— Well for one, the array indices can't represent more than one

— Yes, but wow!

— It would be immense to even use it for one string

— Prototypal inheritance?

— Nested empty arrays that inherit from a master array or something?

— For a precision of 8 characters, you have 8 arrays with 65535 indexes EACH!

— So that only the overriden indexes actually use memory

— Unsure if this properly works for arrays, but worth a shot