Skip to content

Instantly share code, notes, and snippets.

@astanway
Created March 13, 2013 16:13
Show Gist options
  • Save astanway/5153663 to your computer and use it in GitHub Desktop.
Save astanway/5153663 to your computer and use it in GitHub Desktop.
# Optimizations
ujson_loads = ujson.loads
time_time = time.time()
settings_ANALYZER_PROCESSES = settings.ANALYZER_PROCESSES
self_analyze = self.analyze
json = ujson_loads('my string')
self_analyze(json)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment