maciej.mensfeld (Maciej Mensfeld)
- Login: maciej.mensfeld
- Email: maciej@mensfeld.pl
- Registered on: 10/19/2015
- Last sign in: 10/15/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 9 | 9 |
Activity
12/26/2025
-
02:00 AM Ruby Revision f09e35ee (git): [ruby/date] [ruby/date] Optimize Gregorian date conversions with Neri-Schneider algorithm
- Replace floating-point arithmetic and iterative loops with pure integer
operations for ~40% faster Date operations. Date.ordinal and Date.commercial
are ~2x faster due to O(1) first-day-of-year calculation.
Reference: https://arxiv.org/... -
02:00 AM Ruby Revision ea03f263 (git): [ruby/date] improve styling
- https://github.com/ruby/date/commit/cd7a329dfd
-
02:00 AM Ruby Revision bcaa127e (git): [ruby/date] code remarks, macros and r2.6 support
- https://github.com/ruby/date/commit/2682dc79c0
-
02:00 AM Ruby Revision 5960fb9f (git): [ruby/date] remove redundant code
- https://github.com/ruby/date/commit/5e6a458179
-
02:00 AM Ruby Revision 80242458 (git): [ruby/date] remove conditional for uint64_t
- https://github.com/ruby/date/commit/47778c32d8
09/08/2025
-
11:23 AM Ruby Bug #19288: Ractor JSON parsing significantly slower than linear parsing
- I can confirm significant performance improvements with the new Ractor APIs. I will now proceed to benchmark this against real Karafka user payloads. If the performance gains match what we're seeing in these synthetic benchmarks, I'll mo...
05/15/2025
-
04:44 PM Ruby Bug #21342 (Closed): Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC
- Ruby crashes with a `[BUG] invalid keeping_mutexes error` when attempting to GC locked mutex that was used in a Thread within a Fiber context after garbage collection. The error indicates an attempt to unlock a mutex that is not locked, ...
06/19/2024
-
04:06 PM Ruby Bug #20462: Native threads are no longer reused
- byroot (Jean Boussier) wrote in #note-5:
> > Not sure if related
> ...
I myself do not rely on this explicitly. It came up during a deeper investigation related to high memory usage / potential memory leaks of 3.3.x. We've been postpon... -
12:24 PM Ruby Bug #20462: Native threads are no longer reused
- Not sure if related but here's a benchmark of the impact (written by Gordon Chan):
```ruby
#!/usr/bin/env ruby
# Disable GC during the benchmark
GC.disable
# Get the current memory usage
mem_before = GC.stat[:malloc_increase_...
06/18/2024
-
08:51 AM Ruby Bug #20462: Native threads are no longer reused
- I also believe it can multiple any potential issues with resources leakage. Not sure yet what is causing this but working with a Rails user that sees this:
> I wrote a little script that creates 100k threads and can report 3.3.3 alloc...