hwia | Native MRI HashWithIndifferentAccess implementation

 by   methodmissing Ruby Version: Current License: No License

kandi X-RAY | hwia Summary

kandi X-RAY | hwia Summary

hwia is a Ruby library. hwia has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

attempt at a zippier hashwithindifferentaccess for ruby mri (c) 2009 lourens naudé (methodmissing), james tucker (raggi). this library works with ruby mri > 1.8.6 && 1.9.2 and is a more efficient implementation of activesupport::hashwithindifferentaccess, which allows interchangeable use of string and symbol hash keys. methodmissing:hwia lourens$ rake bench (in /users/lourens/projects/hwia) /opt/local/bin/ruby extconf.rb checking for rb_thread_blocking_region()... no checking for rb_trap_immediate in ruby.h,rubysig.h... yes creating makefile make gcc -i. -i. -i/opt/local/lib/ruby/1.8/i686-darwin9.5.1 -i. -dhave_rb_trap_immediate -druby18 -d_xopen_source -d_darwin_c_source -fno-common -o2 -pipe -fno-common -c hwia.c cc -dynamic -bundle -undefined suppress -flat_namespace -o hwia.bundle hwia.o -l. -l/opt/local/lib -l. -ldl -lobjc /opt/local/bin/ruby bench/bench.rb rehearsal ------------------------------------------------------------------------------ strhash#[:sym] 0.000000 0.000000 0.000000 ( 0.002999) hashwithindifferentaccess#[:sym] 0.020000 0.000000 0.020000 ( 0.021942) strhash#['str'] 0.010000 0.000000 0.010000 ( 0.004590) hashwithindifferentaccess#['str] 0.000000 0.000000 0.000000 ( 0.003842) strhash#key?(:sym) 0.010000 0.000000 0.010000 ( 0.002902) hashwithindifferentaccess#key?(:sym) 0.010000 0.000000 0.010000 ( 0.013906) strhash#key?('str') 0.000000 0.000000 0.000000 ( 0.004245) hashwithindifferentaccess#key?('str') 0.010000 0.000000 0.010000 ( 0.010769) strhash#fetch(:sym) 0.010000 0.000000 0.010000 ( 0.003285) hashwithindifferentaccess#fetch(:sym) 0.020000 0.000000 0.020000 ( 0.019375) strhash#fetch('str') 0.000000 0.000000 0.000000 ( 0.003811) hashwithindifferentaccess#fetch('str') 0.010000 0.000000 0.010000 ( 0.014550) strhash#values_at(:sym) 0.010000 0.000000 0.010000 ( 0.006830) hashwithindifferentaccess#values_at(:sym) 0.020000 0.000000 0.020000 ( 0.020391) strhash#values_at('str') 0.010000 0.000000 0.010000 ( 0.007286) hashwithindifferentaccess#values_at('str') 0.020000 0.000000 0.020000 ( 0.019495) strhash#['str']= 0.000000 0.000000 0.000000 ( 0.004249) hashwithindifferentaccess#['str]=
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              hwia has a low active ecosystem.
              It has 38 star(s) with 1 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 1 have been closed. On average issues are closed in 1480 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of hwia is current.

            kandi-Quality Quality

              hwia has 0 bugs and 0 code smells.

            kandi-Security Security

              hwia has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              hwia code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              hwia does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              hwia releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              hwia saves you 158 person hours of effort in developing the same functionality from scratch.
              It has 393 lines of code, 53 functions and 6 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed hwia and discovered the below as its top functions. This is intended to give you an instant insight into hwia implemented functionality, and help decide if they suit your requirements.
            • Converts all keys to a hash
            • Allows you to accessor .
            • Updates this hash with another key .
            • Merge other hash
            • Merge the hash into another .
            • Extract an attribute from the cache .
            • Creates a new instance for the given key .
            • Returns an array of values at the given index .
            • Set the value .
            • Deletes the document .
            Get all kandi verified functions for this library.

            hwia Key Features

            No Key Features are available at this moment for hwia.

            hwia Examples and Code Snippets

            No Code Snippets are available at this moment for hwia.

            Community Discussions

            No Community Discussions are available at this moment for hwia.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install hwia

            You can download it from GitHub.
            On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/methodmissing/hwia.git

          • CLI

            gh repo clone methodmissing/hwia

          • sshUrl

            git@github.com:methodmissing/hwia.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Ruby Libraries

            rails

            by rails

            jekyll

            by jekyll

            discourse

            by discourse

            fastlane

            by fastlane

            huginn

            by huginn

            Try Top Libraries by methodmissing

            scrooge

            by methodmissingRuby

            rbczmq

            by methodmissingC

            mysqlplus_adapter

            by methodmissingRuby

            mri_instrumentation

            by methodmissingRuby

            eio

            by methodmissingShell