We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f20649 commit ec6d586Copy full SHA for ec6d586
learning-examples/manual_buy_cu_optimized.py
@@ -8,6 +8,13 @@
8
9
Key difference from manual_buy.py:
10
- Adds set_loaded_accounts_data_size_limit(512_000) before other instructions
11
+
12
+NOTE: The CU savings from this optimization are NOT visible in transaction "consumed CU"
13
+metrics, which only show execution CU. The 16k CU loaded accounts overhead is counted
14
+separately for transaction priority/cost calculation. This makes the real impact hard
15
+to measure directly, but it improves priority.
16
17
+Reference: https://www.anza.xyz/blog/cu-optimization-with-setloadedaccountsdatasizelimit
18
"""
19
20
import asyncio
0 commit comments