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?