Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: mark gas-expensive functions and expressions #1703

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Conversation

novusnota
Copy link
Member

@novusnota novusnota commented Feb 4, 2025

The "gas-expensive" threshold is 500 gas units — to display this bit of info I've added the title attribute, which shows the tooltip when hovering over the badge.

Also marked the emptyCell() and emptySlice() a bit different, since they'll become less expensive soon: #1696

If necessary, we can also add such remarks to the code comments for the affected functions & initOf, but I don't know yet if that's a good idea.

Issue

Closes #1246.

Checklist

  • I have updated CHANGELOG.md
  • I have run the linter, formatter and spellchecker
  • I did not do unrelated and/or undiscussed refactorings

The "gas-expensive" threshold is 500 gas units
@novusnota novusnota added this to the Doc: 2025-01 milestone Feb 4, 2025
@novusnota novusnota requested a review from a team as a code owner February 4, 2025 17:17
@anton-trunov anton-trunov self-assigned this Feb 5, 2025
@anton-trunov anton-trunov merged commit 50612f9 into main Feb 5, 2025
30 checks passed
@anton-trunov anton-trunov deleted the closes-1246 branch February 5, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: mark gas-expensive functions like endCell()
2 participants