Skip to content

Instantly share code, notes, and snippets.

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 christophejunke/75a65253ee72ce489a53c24b8df3b12f to your computer and use it in GitHub Desktop.
Save christophejunke/75a65253ee72ce489a53c24b8df3b12f to your computer and use it in GitHub Desktop.
(defvar *big* (simulate "06-ex" 9999999))
;; 3.75 min later
(defvar *as-str* (format nil "~d" *big*))
(length *as-str*)
=> 378346
(subseq *as-str* 0 20)
=> "41825991834876534637"
(subseq *as-str* (- 378346 20))
=> "36233395466707352532"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment