summaryrefslogtreecommitdiffstats
path: root/webservice.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-01-14 22:18:20 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-15 14:23:46 +1300
commit54898b15ffbcd92b839a450a943cfe0ffd8b6799 (patch)
treeab9a8283ad2de5d20150f3ec017a97f842ec6353 /webservice.h
parentdc7397b06e9a555aac707ede1aea699ca3dad230 (diff)
downloadsubsurface-54898b15ffbcd92b839a450a943cfe0ffd8b6799.tar.gz
Do not free the membuffer, reuse it
This is an attempt to make fewer calls to alloc functions when the mouse is moving. We were creating a membuffer, filling it (malloc / realloc), then freeing it just after use. but we could simply hold that allocated area and reuse it again. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'webservice.h')
0 files changed, 0 insertions, 0 deletions