| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
The installed file not always have the `.so` extension.
https://github.com/rubygems/rubygems/commit/6f6681bcb9
Co-authored-by: Eloy Espinaco <eloyesp@gmail.com>
|
|
|
|
|
|
|
| |
Some tests check that the shared objects are actually installed, but
checking an intermediate build file instead of the installed one.
https://github.com/rubygems/rubygems/commit/ad526073b0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have a check for a corrupt lockfile right before installing. However,
the check accounted for locked specs not satisfying locked dependencies,
but not for locked specs missing for some locked dependencies.
Instead of fixing this check, I decided to remove it in favor of
automatically detecting the situation and re-resolve to automatically
fix the lockfile rather than printing a warning but leave the problem
there.
https://github.com/rubygems/rubygems/commit/4a7a584252
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/b88c43a28c
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/a8348d271d
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/950615405e
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3f4b1c7a01
|
| |
|
| |
|
|
|
|
|
|
| |
Specifically, I wanted to grey out comments in shell scripts. But I just
specified a language for blocks without comments as well to avoid
forgetting that in the future.
|
|
|
|
|
|
|
|
| |
gc_compact_move incorrectly returns false when destination heap is full
after sweeping. It returns false even if destination heap is different
than source heap (returning false means that the source heap has
finished compacting). This causes the source page to get locked, which
causes a read barrier fire when we try to compact the source heap again.
|
|
|
|
|
|
| |
This would be still flaky, but we want to make sure there's no
YJIT-specific issue when Ruby 3.2 is released. We might skip it again
after the release.
|
|
|
|
|
|
|
|
|
|
|
| |
We eagerly set the new shape of an object when moving an object during
compaction. This new shape may have a different capacity than the
current original shape capacity. This means that we cannot copy from the
original buffer using size of the new capacity. Instead, we should use
the ivar count (which is less than or equal to both the new and original
capacities).
Co-Authored-By: Matt Valentine-House <matt@eightbitraptor.com>
|
|
|
| |
Array#sum accepts a block.
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/irb/commit/dbb3dc72ff
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/did_you_mean/commit/f7703add76
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This reverts commit 6229c02d6b895eda8c73efa8a41c73692d133a65.
Nothing has been changed in RubyVM.stat on normal Ruby build. It seems
confusing to say that something has been changed there. The flag is
supposed to be enabled only by CRuby developers, and it's not efficient
enough for public consumption.
|
|
|
|
|
|
|
|
| |
`unsigned_time_t` has the same size as `time_t`, but it doesn't mean
these types are same except for signedness. For instance, while
`long` and `long long` has the same size and `time_t` is defined as
the latter on 64bit OpenBSD, `unsigned_time_t` has been defined as
`long`.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/net-http/commit/b8bdb7248e
|
|
|
|
| |
https://github.com/ruby/date/commit/ea3644a7c4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
bundle lock --update can do everything that bundle update can do, but
it doesn't actually install gems. This is especially useful for
generating a lockfile on a machine that doesn't have the libraries
available to be able to build native extensions.
But, there was no parallel for bundle update --bundler. So let's add
one.
https://github.com/rubygems/rubygems/commit/7fc00bd2a5
|
|
|
|
| |
https://github.com/ruby/net-http/commit/6dfe6f411a
|
|
|
|
| |
It is used from mkmf.rb on target environments.
|
|
|
|
|
|
|
|
| |
miniruby is used to resolve symbols in ext bundles
https://bugs.ruby-lang.org/issues/19239
Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
|
|
|
|
| |
https://github.com/ruby/date/commit/71c35b4054
|
|
|
|
| |
https://github.com/ruby/date/commit/3f666fa882
|
|
|
|
| |
https://github.com/ruby/date/commit/3bfed83ce7
|
|
|
|
| |
https://github.com/ruby/date/commit/945e26e243
|
|
|
|
| |
https://github.com/ruby/date/commit/7fe2bd5f94
|
|
|
|
| |
https://github.com/ruby/date/commit/a45f8f03c9
|
|
|
|
|
|
|
|
|
| |
We should always have a T_HASH here, so we can use FL_TEST_RAW to avoid
checking whether we may have an immediate value.
I expect this to be a very small performance improvement (perf stat
./miniruby benchmark/hash_aref_miss.rb shows a ~1% improvement). It also
removes 9 instructions from rb_hash_default_value on x86_64.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On a hash miss we need to call default if it is redefined in order to
return the default value to be used. Previously we checked this with
rb_method_basic_definition_p, which avoids the method call but requires
a method lookup.
This commit replaces the previous check with BASIC_OP_UNREDEFINED_P and
a new BOP_DEFAULT. We still need to fall back to
rb_method_basic_definition_p when called on a subclasss of hash.
| |compare-ruby|built-ruby|
|:---------------|-----------:|---------:|
|hash_aref_miss | 2.692| 3.531|
| | -| 1.31x|
Co-authored-by: Daniel Colson <danieljamescolson@gmail.com>
Co-authored-by: "Ian C. Anderson" <ian@iancanderson.com>
Co-authored-by: Jack McCracken <me@jackmc.xyz>
|
|
|
|
| |
Prefer Array#unpack1 and Enumerable#sum.
I think the bitmask formula ``2 ** @width - 1`` would be clearer, but not faster for such small integers.
|