SciRuby / daru

Data Analysis in RUby
BSD 2-Clause "Simplified" License
1.03k stars 139 forks source link

Port slow parts to Rubex #384

Open v0dro opened 6 years ago

v0dro commented 6 years ago

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

zverok commented 6 years ago

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.

v0dro commented 6 years ago

Interesting!

baarkerlounger commented 6 years ago

I think .where would be a great candidate. It's extremely slow on large data sets.

arbox commented 6 years ago

Just a short question: did anybody conduct systematic profiling for DaRu?

v0dro commented 6 years ago

@arbox Not really.