summaryrefslogtreecommitdiff
path: root/hash.c
AgeCommit message (Expand)Author
2024-03-14[Bug #20307] Fix `Hash#update` to make frozen copy of string keysNobuyoshi Nakada
2024-03-14Extract `RHASH_STRING_KEY_P`Nobuyoshi Nakada
2024-03-14Extract `RHASH_IDENTHASH_P`Nobuyoshi Nakada
2024-03-01Skip a redundant check for the rb_obj_hash caseTakashi Kokubun
2024-03-01Optimize Hash methods with Kernel#hash (#10160)Takashi Kokubun
2024-02-23Remove unneeded RUBY_FUNC_EXPORTEDPeter Zhu
2024-02-14[DOC] Doc compliance (#9955)Burdette Lamar
2024-02-13[DOC] Doc compliance (#9944)Burdette Lamar
2024-02-08YJIT: Skip pushing a frame for Hash#empty? (#9875)Takashi Kokubun
2024-01-15Explicitly convert between `VALUE` and `st_data_t`Nobuyoshi Nakada
2024-01-12s/SafeStringValue/StringValue/Xavier Noria
2024-01-06Tweak for ENV docBurdetteLamar
2024-01-04Memory leak when duplicating identhashPeter Zhu
2023-12-31[DOC] Remove extra colon in Hash#default_procPeter Zhu
2023-12-29[DOC] Fix syntax in Hash#eql?Peter Zhu
2023-12-29[DOC] Remove useless word in Hash#eql?Peter Zhu
2023-12-29[DOC] Add parantheses in call-seq for Hash#eql?Peter Zhu
2023-12-25Move internal ST functions to internal/st.hPeter Zhu
2023-12-18compare_by_identity: remove alloc for non-empty HashAlexander Momchilov
2023-12-18compare_by_identity: remove alloc for empty HashAlexander Momchilov
2023-12-18[DOC] No document for internal or debug methodsNobuyoshi Nakada
2023-12-15check modifcation whil ar->stKoichi Sasada
2023-12-13Fix memory leak in Hash#compare_by_identityAlan Wu
2023-12-07Use xfree in hash_st_freeJohn Hawthorn
2023-11-21Do not change hash type in Hash#assocNobuyoshi Nakada
2023-11-21Raise an exception when Hash#compare_by_identity during its iterationYusuke Endoh
2023-11-21Raise an exception if ar_table is converted to st_table during iterationYusuke Endoh
2023-11-12Just check if iteration level is non-zerov3_3_0_preview3Nobuyoshi Nakada
2023-11-12Refactor hash iteration levelNobuyoshi Nakada
2023-11-11[Bug #19969] Compact st_table after deleted if possibleNobuyoshi Nakada
2023-10-22[DOC] Update documentation for typical implementation of hashYuki Tsujimoto
2023-09-27[DOC] Missing comment markerNobuyoshi Nakada
2023-09-24Add rb_hash_free for the GC to usePeter Zhu
2023-09-24Add hash_st_freePeter Zhu
2023-09-23Fix memory leak in Hash#rehash for ST hashesPeter Zhu
2023-09-06`RHASH_AR_TABLE` never returns NULL now [ci skip]Nobuyoshi Nakada
2023-09-03[DOC] Typo in Hash#key description "so/no such value"Dorian MariƩ (perso)
2023-09-03[DOC] FIx typo in description of Hash#hash (regardless or/of order)Dorian MariƩ (perso)
2023-08-12[DOC] Don't suppress autolinksBurdetteLamar
2023-08-03Add assertion in `RHASH_AR_TABLE_BOUND`Nobuyoshi Nakada
2023-07-13Remove RARRAY_PTR_USE_TRANSIENTPeter Zhu
2023-06-30Don't check for null pointer in calls to freePeter Zhu
2023-06-29Fix memory leak in Hash#replacePeter Zhu
2023-06-29Fix memory leak when copying ST tablesPeter Zhu
2023-06-29Refactor rb_hash_replace to use hash_copyPeter Zhu
2023-06-23Declare `RHASH_AR_TABLE` and `RHASH_ST_TABLE` return non-nullNobuyoshi Nakada
2023-06-22Remove dead code in hash.cPeter Zhu
2023-06-12hash.c no longer needs the transient heapPeter Zhu
2023-06-08* remove trailing spaces. [ci skip]git
2023-06-08[DOC] Add comment about flags for HashPeter Zhu