Changes between Version 1 and Version 2 of Configuration2
- Timestamp:
- 06/03/13 17:18:45 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Configuration2
v1 v2 68 68 For convenience, the MUSCLE filters may be referred to by their name instead of their class: 69 69 {{{ 70 w.couple(r, {'dataOut' ,'dataIn'}, ['multiply_0.5','console'])70 w.couple(r, {'dataOut' => 'dataIn'}, ['multiply_0.5','console']) 71 71 }}} 72 72 … … 74 74 The following fragment multiplies the data with a constant on the sending side, and prints it on the receiving side: 75 75 {{{ 76 w.couple(r, {'dataOut' ,'dataIn'}, ['multiply_0.5'], ['console'])76 w.couple(r, {'dataOut' => 'dataIn'}, ['multiply_0.5'], ['console']) 77 77 }}} 78 78 … … 84 84 For large data sets it may increase performance to split the data into multiple chunks before compressing. In the following configuration, it gets sent in separate chunks and compressing is done in a separate thread from sending: 85 85 {{{ 86 w.couple(r, {'dataOut' ,'dataIn'}, ['serialize','chunk_16','compress','thread'], ['decompress','dechunk_16','deserialize'])86 w.couple(r, {'dataOut' => 'dataIn'}, ['serialize','chunk_16','compress','thread'], ['decompress','dechunk_16','deserialize']) 87 87 }}} 88 88