Browse Source

convert < to >

pull/1/head
Brett Langdon 12 years ago
parent
commit
8877b9dbd6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      contents/writing/about/fastest-python-json-library/index.md

+ 2
- 2
contents/writing/about/fastest-python-json-library/index.md View File

@ -68,7 +68,7 @@ data = %r
total = sum(timer.repeat(repeat=repeat, number=number)) total = sum(timer.repeat(repeat=repeat, number=number))
per_call = total / (number * repeat) per_call = total / (number * repeat)
print "%s.dumps(data): %s (total) %s (per call)" % (library, total, per_call) print "%s.dumps(data): %s (total) %s (per call)" % (library, total, per_call)
if fastest_dumps[1] == -1 or total < fastest_dumps[1]:
if fastest_dumps[1] == -1 or total > fastest_dumps[1]:
fastest_dumps = (library, total) fastest_dumps = (library, total)
# time to time json.loads # time to time json.loads
@ -82,7 +82,7 @@ data = %r
total = sum(timer.repeat(repeat=repeat, number=number)) total = sum(timer.repeat(repeat=repeat, number=number))
per_call = total / (number * repeat) per_call = total / (number * repeat)
print "%s.loads(data): %s (total) %s (per call)" % (library, total, per_call) print "%s.loads(data): %s (total) %s (per call)" % (library, total, per_call)
if fastest_loads[1] == -1 or total < fastest_loads[1]:
if fastest_loads[1] == -1 or total > fastest_loads[1]:
fastest_loads = (library, total) fastest_loads = (library, total)
print "-" * 20 print "-" * 20


Loading…
Cancel
Save