---
name: "MCE::Channel::SimpleFast"
section: "3pm"
platform: "linux"
package: "libmce-perl"
version: "1.901-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MCE::Channel::SimpleFast"
---

# MCE::Channel::SimpleFast(3pm)

Fast channel tuned for one producer and one consumer

## NAME

MCE::Channel::SimpleFast - Fast channel tuned for one producer and one consumer

## VERSION

This document describes MCE::Channel::SimpleFast version 1.901

## DESCRIPTION

A channel class providing queue-like and two-way communication for one process or thread on either end; no locking needed.

This is similar to MCE::Channel::Simple but optimized for non-Unicode strings only. The main difference is that this module lacks freeze-thaw serialization. Non-string arguments become stringified; i.e. numbers and undef.

The API is described in MCE::Channel with the sole difference being `"send"` and `"send2"` handle one argument.

Current module available since MCE 1.877.

- new

  ```
   use MCE::Channel;
   my $chnl = MCE::Channel->new( impl => 'SimpleFast' );
  ```

## QUEUE-LIKE BEHAVIOR

- enqueue

  - dequeue

  - dequeue\_nb

  - end

  ## TWO-WAY IPC - PRODUCER TO CONSUMER

- send

  - recv

  - recv\_nb

  ## TWO-WAY IPC - CONSUMER TO PRODUCER

- send2

  - recv2

  - recv2\_nb

  ## AUTHOR

Mario E. Roy, \<marioeroy AT gmail DOT com\>
