Ryan Davis

Results 313 comments of Ryan Davis

That should be easy to do, IIRC. Wanna take a whack at it?

On Jan 13, 2014, at 16:13, Russell Allen [email protected] wrote: > Ryan, can I suggest you subscribe to the mailing list at [email protected]? Email [email protected] to subscribe. There is an...

This is true. I don't have a fix for this. Best guess: it would require an overhaul allowing lambdas to be registered to manipulate the strings. Not sure I'm willing...

I'm unassigning so maybe someone else will pick it up.

For whatever reason, I didn't see a notification for this until now... WTF?

Fuuuuck me. For the record, that video is _amazing_.

Old Profile (anything > 1%): ``` 18.58 5.09 5.09 212630 0.02 0.04 Graphics::AbstractSimulation#circle 14.23 8.99 3.90 109340 0.04 0.11 Bezier#percentages_between 13.79 12.76 3.78 107415 0.04 0.07 Graphics::AbstractSimulation#line 9.09 15.25 2.49...

The culprit is most likely `aalineColor` vs `lineColor` from sdl2_gfx. If I turn off anti-aliasing, things run MUCH smoother.

If I hardcode non-aa-lines: ``` 18.81 5.21 5.21 212630 0.02 0.05 Graphics::AbstractSimulation#circle 13.79 9.02 3.82 107415 0.04 0.06 Graphics::AbstractSimulation#line 13.73 12.82 3.80 109340 0.03 0.10 Bezier#percentages_between 9.07 15.33 2.51 320068...

Adding `false` to the line call (to turn off anti-aliasing) results in a speedup that feels comparable to the previous version... OK, actual timings are 1.76s (old/wall) vs 2.81s (new+false/wall)...