daru
daru copied to clipboard
Port slow parts to Rubex
Rubex is nearing a phase where it can be used in Ruby gems, and I think a great way to test it would be to port some slow parts of daru to Rubex to speed them up. Which parts are best for porting is to be discussed in this issue.
https://github.com/v0dro/rubex
I recommend to look at ChunkyPNG's approach, at least at the beginning. Their speed-up extension, OilyPNG is distributed as a separate gem, that just replaces some performance-critical methods with compiled ones.
Interesting!
I think .where
would be a great candidate. It's extremely slow on large data sets.
Just a short question: did anybody conduct systematic profiling for DaRu?
@arbox Not really.