Tom Byrer

Results 354 comments of Tom Byrer

First thing I did was to reduce the image file sizes (I'm kinda nerdy about optimization). But Github is down, so I'll send in a PR later. On Sun, Feb...

Seems some of my refactoring is also optimizing. 1 `if` statement removed. Sorry I already made a mess in my commits, but you can test if I blew anything up...

Could just remove the dot; keep readability & improve perf. Last time I checked "jsperf object vs variable" variables won. Even if I cap those calculations at 60FPS, that is...

Seems removing the `data` object was only a slight improvement, likely as much as removing 3/4 of the element lookups. Likely modern JS engines automatically do optimizations like [this](https://github.com/tomByrer/jquery-focuspoint/commit/7872c940ef67a9b53dac1ff6462b3a6f2be4eed5#diff-f0cf615690c9b6135dba15b53228f01fR2200), but...

New PRs, but you can still read the old PR if you want to view each step. Might add back the removal of the `data` object later when I can...

Thanks for accepting PRs; I hope they truely make it more readable for you also. Just happens to save a few CPU. I'm thinking what is needed is a debounce...

Could switch. But in general you only want to calculate at max target refresh, which is 60FPS (though I think sometimes perception can go down to 15FPS). Extra calculations are...

I'm not sure where you get debouce = "only once the user has stopped resizing the window"? From the CSSTricks article you linked: > Debouncing enforces that a function not...

There is a new library that has many jQuery DOM & event functions. Focuses on evergreen browser compatibility, so is around 2x+ faster than even Zepto & smaller. http://webpro.github.io/jquery-evergreen/ No...

IMHO, would be nice if Mondrian has solid support for Illustrator & Inkscape `.svg` files (for their funky meta data). > make a simple system that does the conversions automatically...