Skip to content

changes to date#47

Closed
tomByrer wants to merge 12 commits intojonom:v-2-devfrom
tomByrer:v-2-dev
Closed

changes to date#47
tomByrer wants to merge 12 commits intojonom:v-2-devfrom
tomByrer:v-2-dev

Conversation

@tomByrer
Copy link
Contributor

changes to date

Tom Byrer added 3 commits February 22, 2016 08:27
imageAlpha reduced PNGs to 64 & 32 colors
imageOptim reduced all file sizes
removed `if (axisClip)` check, since no clipping ends before, & fall-through naturally is only those that need clipping
@tomByrer tomByrer changed the title reduced image sizes, average 6.4% changes to date Feb 22, 2016
Tom Byrer added 2 commits February 22, 2016 20:24
So, no longer need `if (axisClip) since 'No clipping' now `return`s
@jonom
Copy link
Owner

jonom commented Feb 25, 2016

Thanks Tom, these changes all make sense. Do you want me to merge these soon or do you want to keep working on stuff? I know I said I prefer a single commit per issue but I don't want to merge any revert commits - so I'd be happy for you to squash all of this in to one commit if you like, call it something like 'Optimisations' and just summarise each of the things you did in the message.

@jonom
Copy link
Owner

jonom commented Feb 25, 2016

Or rather, squash the last 4 in to one. May as well leave the image one separate. Or whatever :D

@tomByrer
Copy link
Contributor Author

Or rather, squash the last 4 in to one. May as well leave the image one separate. Or whatever :D

Sounds like best bet. Might be day or 3.

Tom Byrer added 3 commits February 26, 2016 23:39
reorganized `var` declarations, `if/else` and assignments to related groupings
removed redundant `dataAxis` (`a`) var; only need `dataClippingAxis`
don't need to look up same element 4 times ;)
Should be slightly faster, at least to read with human eyes ;)
@jonom
Copy link
Owner

jonom commented Feb 27, 2016

Thanks for your efforts Tom. If there's no significant performance gain I'm not likely to merge tomByrer@d94272d. There's a real benefit to me in keeping it all on an object in that I can use the console to debug data at any point and get a readout of all the vars, nicely grouped together.

tomByrer pushed a commit to tomByrer/jquery-focuspoint that referenced this pull request Feb 27, 2016
@jonom jonom closed this Mar 1, 2016
jonom pushed a commit that referenced this pull request Apr 1, 2020
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