1. 8

  2. 1

    I’ve used multiprocessing.Pool.map and the example shown looked a lot like how I would use map. How is this library/decorator different? Is it more efficient? Is the usage easier than multiprocessing.Pool.map? Thanks!

    1. 1

      a) this looks really cool!

      b) python 2.7 or 3.x?

      c) “utilize the benefits of multi-threading with minimal concern about the implementation details.” http://i.imgur.com/2RRXCb7.gif?1

      1. 1

        This wraps concurrent.futures which were introduced in python 3.2. Its less than 50 lines of code, and a good way to learn decorators, I recomend reading the source.