[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68244: hash-table improvements
From: |
Dmitry |
Subject: |
bug#68244: hash-table improvements |
Date: |
Sun, 07 Jan 2024 17:39:06 +0200 |
User-agent: |
Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 |
On Sun, Jan 7, 2024, at 7:26 AM, Stefan Monnier wrote:
Side note: I think reasoning won't get us out of this: either we decide
the choice is important, and then we try and do some
profiling/benchmarking
That's what I was going to suggest, but concluded that dropping the tallying increments in any of these constructors can lead to risky behavior in degenerate cases.
The use of memory allocation as a way to decide when to do the next GC
is just a crude tool anyway, which can often result in bad GC decisions,
anyway (e.g. typically during long periods of initialization where we
allocate many objects but don't generate almost any garbage).
Indeed, we have a latency/throughput tradeoff here with the current system, so it would be tempting to reduce the frequency of GCs at least in some cases.
- bug#68244: hash-table improvements, (continued)
- bug#68244: hash-table improvements, Andy Moreton, 2024/01/18
- bug#68244: hash-table improvements, Andy Moreton, 2024/01/20
- bug#68244: hash-table improvements, Mattias Engdegård, 2024/01/05
- bug#68244: hash-table improvements, Dmitry Gutov, 2024/01/05
- bug#68244: hash-table improvements, Mattias Engdegård, 2024/01/06
- bug#68244: hash-table improvements, Eli Zaretskii, 2024/01/06
- bug#68244: hash-table improvements, Dmitry Gutov, 2024/01/06
- bug#68244: hash-table improvements, Stefan Monnier, 2024/01/07
- bug#68244: hash-table improvements,
Dmitry <=
- bug#68244: hash-table improvements, Mattias Engdegård, 2024/01/07
- bug#68244: hash-table improvements, Stefan Monnier, 2024/01/07
- bug#68244: hash-table improvements, Mattias Engdegård, 2024/01/08
- bug#68244: hash-table improvements, Stefan Monnier, 2024/01/08
- bug#68244: hash-table improvements, Mattias Engdegård, 2024/01/09
- bug#68244: hash-table improvements, Mattias Engdegård, 2024/01/13
- bug#68244: hash-table improvements, Gerd Möllmann, 2024/01/14
- bug#68244: hash-table improvements, Mattias Engdegård, 2024/01/14
- bug#68244: hash-table improvements, Stefan Kangas, 2024/01/21