Re[9]: Интерфейсы против функций
От: Poopy Joe Бельгия  
Дата: 14.01.21 20:36
Оценка:
Здравствуйте, D. Mon, Вы писали:


DM>А оно есть в GHC из коробки? А не в чьей-то частной ветке?


Из коробки.
-qg ⟨gen⟩¶
Default
0

Since
6.12.1

Use parallel GC in generation ⟨gen⟩ and higher. Omitting ⟨gen⟩ turns off the parallel GC completely, reverting to sequential GC.

The default parallel GC settings are usually suitable for parallel programs (i.e. those using GHC.Conc.par, Strategies, or with multiple threads). However, it is sometimes beneficial to enable the parallel GC for a single-threaded sequential program too, especially if the program has a large amount of heap data and GC is a significant fraction of runtime. To use the parallel GC in a sequential program, enable the parallel runtime with a suitable -N ⟨x⟩ option, and additionally it might be beneficial to restrict parallel GC to the old generation with -qg1.
Отредактировано 14.01.2021 20:38 Poopy Joe . Предыдущая версия .
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.