Skip to main content
reducer

reducer

1 7.2
A piece of code that combines many values into one value, for example adding numbers
  • noun
  • /rɪˈdjuːsər/
  • Specialized
translation icon : función reductora
  • For this project, we implemented a reducer to transform the input data into a structured format.

Examples

  • So the first thing here is we're saying result is a summing reducer over ints, OK?

  • The reducers offer very low inertia and high torque, permitting rapid acceleration and deceleration and making them suitable for use in computer-controlled automated industrial operations.

    Academic text (1995)
  • So let's just actually, let's just focus on one reducer, OK?

  • The reducers are designed for use in heavy-duty operations requiring high speed and positional accuracy.

    Academic text (1995)
  • The reducer function combines all the numbers in the list to produce a total sum.

  • In our application, the reducer takes the current state and an action to produce the new state.

Synonyms

combinator
vsreducer
  • Specialized
1 9.2

A function that combines values in programming or math

uses repeated application to merge many inputs into one value or new state

Surface Forms

reducer singular
reducers plural

Morphology

reducer = reduce (transparent) = reduce + er

Formed by adding '-er' to 'reduce' to name a function that performs reduction; the computing sense is a straightforward extension.

Etymology

Reducer comes from reduce, with re- 'back' and ducere 'to lead', so it has the sense of 'bringing many things back to one'. In computing a reducer is a function that combines many inputs into a single value, which is why we call it a reducer.