diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-02-05 01:34:39 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-02-05 01:34:39 +0100 |
commit | ed2d44a8cb14f80b11522364577b65faa7c96a9a (patch) | |
tree | 08cb8a5d22a1853e3d1d3bf0122598cdcf9beede /psutil/_pslinux.py | |
parent | 9ee35ea9e9a8c148e5e79208cbf2747c972724de (diff) | |
download | psutil-mem-refactoring.tar.gz |
update docmem-refactoring
Diffstat (limited to 'psutil/_pslinux.py')
-rw-r--r-- | psutil/_pslinux.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py index 11e21fd7..a83056fe 100644 --- a/psutil/_pslinux.py +++ b/psutil/_pslinux.py @@ -978,7 +978,7 @@ class Process(object): _private_re=re.compile(b"Private.*:\s+(\d+)"), _pss_re=re.compile(b"Pss.*:\s+(\d+)"), _swap_re=re.compile(b"Swap.*:\s+(\d+)")): - # Note: using two regexes is faster than reading the file + # Note: using 3 regexes is faster than reading the file # line by line. # XXX: on Python 3 the 2 regexes are 30% slower than on # Python 2 though. Figure out why. |