RE: Profiling and Data.HashTable

17 Oct
2005
17 Oct
'05
5:57 a.m.
On 17 October 2005 08:07, Ketil Malde wrote:
BTW, could one cheat by introducing a write barrier manually in some way? Perhaps by (unsafe?) thaw'ing and freeze'ing the arrays when they are modified?
Might be worthwhile: freezing is very quick (basically a single write), thawing is slightly slower (an out-of-line call, but a short one). The effect of freezing will only be felt after a couple of GCs, when everything the array points to is pulled into the old generation and the GC can take it off the mutable list. Cheers, Simon
7156
Age (days ago)
7156
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow