AnsweredAssumed Answered

Enhance performance of Ruby hash key lookup with HSA

Question asked by metrix on Jan 24, 2015
Latest reply on Jan 27, 2015 by jedwards

Ruby is known for having "slow" performance and I thought it would be interesting to see what HSA could do for Ruby hash lookups -- specifically in this function here: ruby/st.c at trunk · ruby/ruby · GitHub  as It's dealing with an array instead of pointers like the find_entry function further down. So my questions are:

1. Is this function as it stands something that could be optimized with HSA?

2. Which HSA technology do I need to research if this is a good spot to optimize - HSAIL? CLOC?

3. Any other ideas/suggestions?

 

Brandon

Outcomes