Varun Srinivasan
@v
Should Farcaster count string lengths as bytes or characters? https://hackmd.io/@farcasterxyz/BJeFoxdy3
16 replies
0 recast
0 reaction
blingblingđ
@16
B: Regardless of the tool, it is humans who ultimately using them. Therefore, it's important choose a more user-friendly approach, one that is more attuned to our human nature.
1 reply
0 recast
0 reaction
Varun Srinivasan
@v
B has some significant user downsides: youâll be able to publish only half as many messages. The question really is would you be willing to cut 50% of messages you can store for having a few long messages being slightly easier to compose
3 replies
0 recast
0 reaction
Alberto Ornaghi
@alor
Does a message containing only âgmâ count as a full message length? Otherwise I donât get why you can publish only half as many messages.
1 reply
0 recast
0 reaction
Varun Srinivasan
@v
If messages are 320 bytes max, message size can be 1-320 bytes. If messages are 320 chars max, message size can be 1-1280 bytes. Limits are calculated by number of messages, but we want to place an upper bound of how many bytes a user can add to the network.
3 replies
0 recast
0 reaction
Varun Srinivasan
@v
If we let you store 10,000 320 byte messages then we must limit you to "N" 320 char messages, where N < 10,000.
1 reply
0 recast
0 reaction
Varun Srinivasan
@v
N can technically be anywhere from 10,000 to 2,500 but im guessing it will be closer to 5000
0 reply
0 recast
0 reaction