This article originally appeared on Engadget at https://www.engadget.com/general/the-morning-after-engadget-newsletter-121523538.html?src=rss
Image by Mat Smith for Engadget
,更多细节参见新收录的资料
The results highlight a trade-off. For parallelizable workloads operating on independent data, the free-threaded build reduces execution time by up to 4 times, with a proportional reduction in energy consumption, and effective multi-core utilization, at the cost of an increase in memory usage. In contrast, sequential workloads do not benefit from removing the GIL and instead show a 13-43% increase in energy consumption. Similarly, workloads where threads frequently access and modify the same objects show reduced improvements or even degradation due to lock contention. Across all workloads, energy consumption is proportional to execution time, indicating that disabling the GIL does not significantly affect power consumption, even when CPU utilization increases. When it comes to memory, the no-GIL build shows a general increase, more visible in virtual memory than in physical memory. This increase is primarily attributed to per-object locking, additional thread-safety mechanisms in the runtime, and the adoption of a new memory allocator.
Standing in front of an awkward-looking Lionel Messi, Luis Suarez and the other stars of the Inter Miami soccer team on Thursday, Trump told the team's owner, Cuban-born magnate Jorge Mas, that they would soon be "celebrating what's going on in Cuba", adding that the Cuban authorities "want to make a deal. So badly you have no idea."