summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2009-06-17 02:12:45 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-06-21 14:11:51 +0200
commit1cd8acb500c6fd96bf025feb0647211c271b7e2e (patch)
tree0152954999fb9251cbfafbed325ac00f2ee641f2 /pad.h
parent73d1d97336c68e0f5b29937cb9347a00df4c645c (diff)
downloadperl-1cd8acb500c6fd96bf025feb0647211c271b7e2e.tar.gz
simplify PERL_MEM_LOG
This combines multiple environment variable reads into 1, where it looks for values like "2mst" -2 leading digits are atoi()d to get FD -m memory logging please -s sv logging also -t timestamp those please. Combining these reduces overhead such that it seemed worthwhile to drop all the ifdefs. TBD whether this works in the environment that drove the original tradeoffs. If it isnt enough, Id be tempted by a global static ptr, and on 1st use, is read, seen 0, a lock is taken, and getenvar run to populate it, unlocked, proceed. This would remove iterative overheads.
Diffstat (limited to 'pad.h')
0 files changed, 0 insertions, 0 deletions