Asking for a friend.
Slow day at work?
It might cause some funky UI issues, but it should let you.
Why donāt you name it after this word:
Wow, my pot name only has 28,729 letters.
What do you mean ārediculous pot namesā - Itās clearly my savings fund to get swole while I build up my protein suppliesā¦
Technically no, UI wise I believe itāll cause some problems as itās a bit ugly.
If you manage to make your pot name 2^31 characters long, then there will be some problems This is the maximum length of a string
However I expect the problem will be an error on your phone. Something along the lines of āsorry, canāt do it ā
Sounds like a challenge! Could a modern iPhone CPU even cope with handling that many at once?
Could the Monzo app?
Nope. Tried it. Crashed my phone.
Theoretically, yes.
The maximum length of a string in Swift (and thus iPhone) is 2^64 per ios - In Swift 2.0 what is the maximum length of a string? - Stack Overflow
Perhaps, but in practice, probably not.
I didnāt even get to a billion in my own pi digit generator app before it hung and crapped out. Phone felt like it was on fire. And thatās on a 14 Pro max dev device.
OK I crashed a chrome tab trying to generate a string over >10M characters, so it might take me a while, but challenge accepted.
You could say my activity metric will be below 85% today.
I would follow this:
And then just append an extra char on the end (so its over the 32-bit limit)