Use ArrayVec for kcall fd nums, 8% better perf!

This commit is contained in:
4lDO2
2026-05-31 20:24:57 +02:00
parent 973ac667e3
commit cee451af38
+1 -1
View File
@@ -310,7 +310,7 @@ fn call_normal(
return Err(Error::new(EINVAL));
}
let mut nums = Vec::new();
let mut nums = arrayvec::ArrayVec::<_, 2>::new();
let current_lock = context::current();
let consume = flags.contains(CallFlags::CONSUME);