[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extrem memory consumption during unicode test with alt-array impleme
Re: Extrem memory consumption during unicode test with alt-array implementation
Thu, 6 Oct 2022 09:03:56 -0400
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0
On 10/6/22 8:11 AM, Dr. Werner Fink wrote:
Just to mention due to the extrem memory consumption during unicode tests
with enabled altenative array implementation the speed win is more then
equalised. That is the build system becomes unusable
The unicode test allocates a sparse array with a max index of 1879048270.
The standard implementation handles that just fine. The alternate
implementation just tries to allocate an array and exceeds the data size
limit long before it gets to the max. Depending on your resource limits
and your VM system, the system will keep grinding away trying to satisfy
those malloc requests.
That's the tradeoff: space vs speed.
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU email@example.com http://tiswww.cwru.edu/~chet/