[PERF] Runtime Telemetry Hot Path
This commit is contained in:
@@ -10,12 +10,7 @@ pub struct LogService {
|
||||
|
||||
impl LogService {
|
||||
pub fn new(capacity: usize) -> Self {
|
||||
Self {
|
||||
events: VecDeque::with_capacity(capacity),
|
||||
capacity,
|
||||
next_seq: 0,
|
||||
logs_count: 0,
|
||||
}
|
||||
Self { events: VecDeque::with_capacity(capacity), capacity, next_seq: 0, logs_count: 0 }
|
||||
}
|
||||
|
||||
pub fn log(
|
||||
|
||||
Reference in New Issue
Block a user