Changes between Version 5 and Version 6 of Commentary/ResourceLimits


Ignore:
Timestamp:
Mar 8, 2013 9:12:30 AM (14 months ago)
Author:
ezyang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/ResourceLimits

    v5 v6  
    5555 * Provide {{{withCostCentre :: CostCentre -> (a -> b) -> (a -> b)}}} which provides the equivalent of function entry (adds the CC to what ever the CCCS is). I don't have a good case for complicated cost-centre stacks and listeners and have not implemented it yet. 
    5656 
    57  * Should listeners automatically deregister themselves when their event triggers? Active listeners are considered roots so they must be handled with care to avoid leaks. 
     57 * Active listeners are considered roots so they must be handled with care to avoid leaks. They should be automatically deregistered to avoid thread bombs. 
    5858 
    5959 * Another useful thing to measure, besides residency, is overall allocation. Provide an API for that too.