cloudant / python-cloudant

A Python library for Cloudant and CouchDB
Apache License 2.0
163 stars 55 forks source link

slimming Result iterator #440

Closed aogier closed 5 years ago

aogier commented 5 years ago

Checklist

Description

Hello, this PR implements a deflating FIFO Result iterator. To me, this is especially useful when I run large multiprocessing ingestion batches where having as little allocated ram as possible give a better scalability. While we could obtain somethin similar reverse()ing lists, manual states that collection types are more efficient.

Schema & API Changes

Security and Privacy

Testing

Monitoring and Logging

aogier commented 5 years ago

rebased against #437