Skip to content

optimizations - #6

Open
FallBackITA27 wants to merge 1 commit into
AtishaRibeiro:devfrom
FallBackITA27:patch-3
Open

optimizations#6
FallBackITA27 wants to merge 1 commit into
AtishaRibeiro:devfrom
FallBackITA27:patch-3

Conversation

@FallBackITA27

Copy link
Copy Markdown
Contributor

optimizations so small you might as well not merge this lol

optimizations so small you might as well not merge this lol
Comment thread customtop10/functions.js
var total_entries = get_entry_count();
if (total_entries == 0) return false;
var entries = "398000" + pad(total_entries, 2);
var entries = "3980000" + total_entries.toString(16).toUpperCase();

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessary imo, also the entire code is set to touppercase at the very end

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could just remove the method call, but nonetheless you don't need to pad it at all :P

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I just think the function call looks cleaner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants