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 c313cf4 commit dffde26Copy full SHA for dffde26
sdk/pinocchio/src/entrypoint/mod.rs
@@ -267,6 +267,10 @@ macro_rules! process_accounts {
267
/// - `accounts_slice` pointer must point to a slice of `AccountInfo`s
268
/// already initialized.
269
/// - `index` is a valid index in the `accounts_slice`.
270
+//
271
+// Note: The function is marked as `cold` to stop the compiler from optimizing the
272
+// parsing of duplicated accounts, which leads to an overall increase in CU
273
+// consumption.
274
#[cold]
275
#[inline(always)]
276
unsafe fn clone_account_info(
0 commit comments