rapidjson-ruby
                                
                                
                                
                                    rapidjson-ruby copied to clipboard
                            
                            
                            
                        WIP faster hash building
WIP
It's faster to buffer items in a (C) array before creating a hash from them. Partly because this avoids the cost in Ruby of building a ar_table before it is converted to an st_table once the hash goes beyond 8 elements.
I don't believe this has been tested sufficiently yet.