aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* Add __x86_64__ guard to include x86intrin.hKenta Murata2021-01-021-1/+1
|
* Check if x86intrin.h is available not only existingNobuyoshi Nakada2021-01-021-1/+3
|
* [ruby/bigdecimal] Update dependKenta Murata2021-01-021-12/+15
|
* [ruby/bigdecimal] Fix test for Ruby 2.4Kenta Murata2021-01-021-0/+1
| | | | | | Ruby 2.4 does not have RbConfig::LIMITS. https://github.com/ruby/bigdecimal/commit/c8087523b0
* [ruby/bigdecimal] Implement special conversions for 64-bit integersKenta Murata2021-01-026-7/+361
| | | | | | | | | | | | | | | | | This change improves the conversion speed from small integers. ``` Comparison: big_n9 master: 4003688.9 i/s bigdecimal 3.0.0: 1270551.0 i/s - 3.15x slower big_n19 master: 5410096.4 i/s bigdecimal 3.0.0: 1000250.3 i/s - 5.41x slower ``` https://github.com/ruby/bigdecimal/commit/3429bd7e6f
* [ruby/bigdecimal] Refactor object allocationKenta Murata2020-12-312-101/+107
| | | | https://github.com/ruby/bigdecimal/commit/271cebe567
* [ruby/bigdecimal] Remove ToValueKenta Murata2020-12-311-61/+59
| | | | https://github.com/ruby/bigdecimal/commit/97e9feeebd
* [ruby/bigdecimal] Remove VP_EXCEPTION_MEMORYKenta Murata2020-12-302-3/+1
| | | | | | It is no longer used due to the previous commit. https://github.com/ruby/bigdecimal/commit/7d463f802b
* [ruby/bigdecimal] Remove needless pointer checksKenta Murata2020-12-301-10/+1
| | | | | | xmalloc and xrealloc return non-NULL pointers or raise memory error. https://github.com/ruby/bigdecimal/commit/507f0a6a64
* [ruby/bigdecimal] Define bool, true, and false for old RubyKenta Murata2020-12-292-0/+16
| | | | https://github.com/ruby/bigdecimal/commit/a6d3bd2d44
* [ruby/bigdecimal] Alloc wrapper object before VpAllocKenta Murata2020-12-291-10/+17
| | | | | | | | Calling TypedData_Wrap_Struct after VpAlloc may cause memory leak. This commit reverts d11b78f9c420f39ee800b9feed4839cd28f4ff5c. https://github.com/ruby/bigdecimal/commit/2c5a288caf
* [ruby/bigdecimal] Refactor to extract VpCheckExceptionKenta Murata2020-12-291-14/+14
| | | | https://github.com/ruby/bigdecimal/commit/6fd171308b
* transcode-tblgen.rb: make silent a little when just -vNobuyoshi Nakada2020-12-291-0/+1
|
* Fix compile error of sockssocketMasaki Matsushita2020-12-291-1/+1
| | | | | | | | The patch is provided by PhobosK (Phobos Kappa). This should be backported to Ruby 3.0. [Feature #17187]
* [ruby/bigdecimal] Refactor to decompose VpNewVarArg into small functionsKenta Murata2020-12-291-95/+137
| | | | https://github.com/ruby/bigdecimal/commit/7504871c48
* [ruby/bigdecimal] Reduce needless object allocation in f_BigDecimalKenta Murata2020-12-291-5/+3
| | | | https://github.com/ruby/bigdecimal/commit/5c808eeabb
* [ruby/bigdecimal] [Doc] Fix the document of BigDecimal()Kenta Murata2020-12-281-1/+1
| | | | | | [ci-skip] https://github.com/ruby/bigdecimal/commit/905d0345ec
* [ruby/bigdecimal] Reduce conditional branch count in VpNewVarArgKenta Murata2020-12-281-14/+10
| | | | https://github.com/ruby/bigdecimal/commit/741fb3e00f
* Get rid of inconsistent dll linkages against vcpkg readlineNobuyoshi Nakada2020-12-271-6/+6
|
* Removed declarations conflicting on MinGWNobuyoshi Nakada2020-12-271-3/+0
|
* etc: use atomic operation instead of mutexNobuyoshi Nakada2020-12-242-26/+12
|
* Expose atomic operation macros with RUBY prefixNobuyoshi Nakada2020-12-242-0/+2
| | | | | Now we need atomic operations, which are lighter than mutex, more widely for extension libraries because of Ractor.
* [fiddle] Update to 1.0.6Kenta Murata2020-12-231-1/+1
|
* [ruby/psych] Bump version to 3.3.0Hiroshi SHIBATA2020-12-231-1/+1
| | | | https://github.com/ruby/psych/commit/0abce07b90
* [ruby/date] Define dummy RUBY_TYPED_FROZEN_SHAREABLE for old RubyKenta Murata2020-12-231-0/+4
| | | | https://github.com/ruby/date/commit/9f3e90ad10
* [ruby/psych] Optimize cache with `compare_by_identity`Marc-Andre Lafortune2020-12-232-2/+2
| | | | | Using `compare_by_identity` gives a 4x performance boost on cache hits. Benchmark in https://github.com/JuanitoFatas/fast-ruby/issues/189
* [ruby/psych] Make Ractor-ready.Marc-Andre Lafortune2020-12-233-6/+43
| | | | | | | Config is Ractor-local. Benchmarking reveals that using `Ractor.local_storage` for storing cache is similar to accessing a constant (~15% slower).
* [ruby/psych] Don't use instance variables directly for configMarc-Andre Lafortune2020-12-231-9/+9
|
* [ruby/psych] Avoid methods depending on bindingsMarc-Andre Lafortune2020-12-231-3/+5
| | | | Improves Ractor-readiness.
* [ruby/psych] Freeze constants.Marc-Andre Lafortune2020-12-232-3/+3
| | | | Improves Ractor-readiness.
* Update version for Ractor-safe extensionsHiroshi SHIBATA2020-12-232-2/+2
|
* [ruby/etc] Make Ractor safeMarc-Andre Lafortune2020-12-222-14/+23
|
* [ruby/etc] Refactor locks using mutex APIMarc-Andre Lafortune2020-12-221-9/+23
|
* [memory_view] Make some rb_memroy_view_t members constKenta Murata2020-12-231-2/+2
|
* [memory_view] Remove needless use of StringValueCStrKenta Murata2020-12-231-3/+2
|
* [memory_view] Add mdview_release_view for testKenta Murata2020-12-231-1/+11
|
* [memory_view][fiddle] Rename len to byte_size in rb_memory_view_tKenta Murata2020-12-232-7/+7
|
* [memory_view][fiddle] Use bool for boolean return valueKenta Murata2020-12-232-10/+10
|
* fiddle: Update to 1.0.5Sutou Kouhei2020-12-233-5/+8
|
* Merge json-2.5.1Hiroshi SHIBATA2020-12-223-2/+4
|
* Prepare to release json-2.5.0Hiroshi SHIBATA2020-12-223-2/+3
|
* [ruby/date] Make Ractor-compatibleMarc-Andre Lafortune2020-12-221-1/+4
|
* [ruby/date] Deep-freeze internal constants.Marc-Andre Lafortune2020-12-223-23/+27
| | | | Probably not strictly necessary, but good principle anyways.
* Removed rb_cData entityNobuyoshi Nakada2020-12-225-5/+5
| | | | | | | * Use the wrapper of rb_cObject instead of data access * Replaced rest of extentions * Updated the version guard for Data * Added the version guard of rb_cData
* [json] Avoid method redefinitionKenta Murata2020-12-211-9/+9
|
* [json] Make json Ractor safeKenta Murata2020-12-213-1/+18
|
* [json] JSON_parse_float: Fix how to convert numberKenta Murata2020-12-212-50/+72
| | | | | | | | | | | Stop BigDecimal-specific optimization. Instead, it tries the conversion methods in the following order: 1. `try_convert`, 2. `new`, and 3. class-named function, e.g. `Foo::Bar.Baz` function for `Foo::Bar::Baz` class If all the above candidates are unavailable, it fallbacks to Float.
* [json] Make JSON.create_id thread-safeKenta Murata2020-12-211-1/+14
|
* [json] Stop using prototype objectsKenta Murata2020-12-212-13/+15
|
* [ruby/digest] Remove .gitignore and .travis.yml from gemspecKenta Murata2020-12-211-6/+8
| | | | https://github.com/ruby/digest/commit/7b57b73f46