Skip to content

Instantly share code, notes, and snippets.

@sshirokov
Created May 16, 2012 04:05
Show Gist options
  • Select an option

  • Save sshirokov/2707277 to your computer and use it in GitHub Desktop.

Select an option

Save sshirokov/2707277 to your computer and use it in GitHub Desktop.
We're so dumb, here's a string stream
(defun 8k-with-stream ()
(let ((s (make-string-output-stream)))
(dotimes (i (* 1024 8))
(write-char (rand-char) s))
(prog1 (get-output-stream-string s)
(close s))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment