Skip to content

Instantly share code, notes, and snippets.

@isaacs isaacs/x.js
Created Dec 15, 2012

Embed
What would you like to do?
var x = new Buffer(26 * 1024 * 1024);
var a = 'a'.charCodeAt(0);
var z = 'z'.charCodeAt(0);
// 1k of alphabets
for (var i = 0; i < x.length; i ++) {
x[i] = i % (z-a+1) + a;
}
console.error(x.toString());
process.exit();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.