Skip to content

Instantly share code, notes, and snippets.

Created October 24, 2011 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1309838 to your computer and use it in GitHub Desktop.
Save anonymous/1309838 to your computer and use it in GitHub Desktop.
<amalloy> (doc seque) is an example you can check out: it uses LBQ
from clojure, and i imagine you could copy most of the code
<lazybot> => "([s] [n-or-q s]); Create a queued eq on another (pre
umably lazy) eq . The queued\n eq will produce a concrete eq in
the background, and can get up to\n n item ahead of the con umer.
n-or-q can be an integer n buffer\n ize, or an in tance of
java.util.concurrent BlockingQueue. Note\n that reading from a eque
can block if the reader get ahead of the\n producer."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment