You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This uses a lot of characters, so if you create a variable (p) that stores the function printh, you can save 126 characters at the cost of only 3 tokens.
This would take effect on any focus except Tokens and Tokens & Compressed Size.
It saves a lot of characters and a few compressed size units (idk what to call them).
Only when focusing on tokens do the downsides outweigh the upsides.
It's technically even worth it for functions of length 2 (though there aren't any built-in functions that short), but it's more than worth it for length 3+ functions.
The text was updated successfully, but these errors were encountered:
Haizlbliek
changed the title
Feature Proposal: Create function synonyms when character count is high
Feature Proposal: Create function synonyms for long function names
Oct 6, 2024
Replacing long function names with a synonymic variable can be used to save a whole lot of characters if used frequently.
Example
This uses a lot of characters, so if you create a variable (
p
) that stores the functionprinth
, you can save 126 characters at the cost of only 3 tokens.This would take effect on any focus except
Tokens
andTokens & Compressed Size
.It saves a lot of characters and a few compressed size units (idk what to call them).
Only when focusing on tokens do the downsides outweigh the upsides.
It's technically even worth it for functions of length 2 (though there aren't any built-in functions that short), but it's more than worth it for length 3+ functions.
The text was updated successfully, but these errors were encountered: