Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous hashing #252

Closed
wants to merge 3 commits into from
Closed

Continuous hashing #252

wants to merge 3 commits into from

Conversation

@astro
Copy link
Contributor

astro commented Jan 21, 2015

Based on #251. Fixes #237 and provides groundwork for #235.

bin/cmd.js Outdated
}
clivas.line('{4+cyan:' + i + '} ' + bar);
linesremaining -= 1
}
clivas.line(
'{red:storage mem:} {bold:' + Math.ceil(storageMem / 1024) + ' KB} '

This comment has been minimized.

Copy link
@feross

feross Jan 23, 2015

Member

We should use the prettyBytes function instead of calculating this manually.

This comment has been minimized.

Copy link
@astro

astro Jan 23, 2015

Author Contributor

Ideally, we wouldn't need to output this at all. :-)

@astro astro mentioned this pull request Jan 23, 2015
bin/cmd.js Outdated
bar += '{green:█}';
} else {
switch(piece.blocks[j]) {
case 0:

This comment has been minimized.

Copy link
@feross

feross Jan 23, 2015

Member

Should export the constants from storage.js so we don't have magic numbers here.

@lock lock bot locked as resolved and limited conversation to collaborators May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

3 participants
You can’t perform that action at this time.