Created
April 1, 2016 15:51
-
-
Save Lovesan/e6f2f88cc06abe04f53462cec16e4290 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defconstant +byte-count+ (* 2 1024 1024 1024)) | |
(defconstant +page-size+ 4096) | |
(defconstant +page-count+ (/ +byte-count+ +page-size+)) | |
(defvar *a* (make-array +byte-count+ :element-type '(unsigned-byte 8))) | |
(dotimes (i +page-count+) (incf (elt *a* (* i +page-size+)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment