diff options
author | Jonas Scholl <anselm.scholl@tu-harburg.de> | 2016-01-08 11:46:42 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-08 12:26:33 +0100 |
commit | 1abb7005067e22039807de34cd60bed55316e925 (patch) | |
tree | 4bbaef1ba171b34eb6c6b52328155797a1bfc7f2 /rts/ProfHeap.c | |
parent | 0163427761c0e72a3acf09f854b3447f2e553f1b (diff) | |
download | haskell-1abb7005067e22039807de34cd60bed55316e925.tar.gz |
Improve GHC.Event.IntTable performance
Speed up GHC.Event.IntTable.lookup by removing the IO context from the
go helper function. This generates a little bit better code as we can
avoid repeating the stack check.
Remove unused parameter from GHC.Event.IntTable.updateWith.go and
directly return a bool instead of a maybe and then checking that whether
it is a Nothing.
Test Plan: validate
Reviewers: austin, hvr, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1742
GHC Trac Issues: #8793
Diffstat (limited to 'rts/ProfHeap.c')
0 files changed, 0 insertions, 0 deletions