Skip to content

Commit

Permalink
Improve perfromances
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Jan 18, 2024
1 parent 6d9f2f6 commit 7af8480
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 226 deletions.
4 changes: 2 additions & 2 deletions zenoh/src/net/primitives/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub trait Primitives: Send + Sync {
pub(crate) trait EPrimitives: Send + Sync {
fn send_declare(&self, ctx: RoutingContext<Declare>);

fn send_push(&self, ctx: RoutingContext<Push>);
fn send_push(&self, msg: Push);

fn send_request(&self, ctx: RoutingContext<Request>);

Expand Down Expand Up @@ -68,7 +68,7 @@ impl Primitives for DummyPrimitives {
impl EPrimitives for DummyPrimitives {
fn send_declare(&self, _ctx: RoutingContext<Declare>) {}

fn send_push(&self, _ctx: RoutingContext<Push>) {}
fn send_push(&self, _msg: Push) {}

fn send_request(&self, _ctx: RoutingContext<Request>) {}

Expand Down
Loading

0 comments on commit 7af8480

Please sign in to comment.