diff options
| author | Pepe Iborra <mnislaih@gmail.com> | 2007-02-21 18:56:49 +0000 |
|---|---|---|
| committer | Pepe Iborra <mnislaih@gmail.com> | 2007-02-21 18:56:49 +0000 |
| commit | 2bbec92eb827c0d70b25f4006a954d95ae3088bf (patch) | |
| tree | 63fd276cbd0438982f405ceca89f440efa585090 /rts/Task.c | |
| parent | 1c7caf1c6d5abacb2af32d8224241c575829b9fd (diff) | |
| download | haskell-2bbec92eb827c0d70b25f4006a954d95ae3088bf.tar.gz | |
Improving the performance of breakpoints up to 50% (by playing with laziness)
This patch performs several optimizations with the goal of minimizing the cost of building the arguments to breakpointJump:
- Group them all in a single tuple, to minimize closure creation in heap
- Wrap this with the GHC.Base.lazy combinator, to induce max laziness
- Remove as many literal strings as possible
* injecting a module-local CAF to store the module name and use that
* eliminating the package string (not needed).
Diffstat (limited to 'rts/Task.c')
0 files changed, 0 insertions, 0 deletions
