Make hashy arguments faster --------------------------- Key: JRUBY-5205 URL: http://jira.codehaus.org/browse/JRUBY-5205 Project: JRuby Issue Type: Improvement Components: Core Classes/Modules Affects Versions: JRuby 1.6 Reporter: Charles Oliver Nutter
I started an attempt to make hash args faster by forcing them into a single-bucket hash (linear searching instead of hashing) and cutting out resize/rehash checks. The result is here: https://gist.github.com/711005 Unfortunately, this does slow down access a bit, and since there's no way to differentiate hash args from a regular literal hash, this affects all small literal hashes in the system. Something like this patch might be better, but I'm posting this bug/improvement here so it doesn't get lost forever. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email