We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e23fa4d commit a633d6fCopy full SHA for a633d6f
splunklib/searchcommands/internals.py
@@ -669,6 +669,7 @@ def _write_record(self, record):
669
# We may be running under PyPy 2.5 which does not include the _json module
670
_iterencode_json = JSONEncoder(separators=(',', ':')).iterencode
671
else:
672
+ # Creating _iterencode_json this way yields a two-fold performance improvement on Python 2.7.9 and 2.7.10
673
from json.encoder import encode_basestring_ascii
674
675
@staticmethod
0 commit comments