vivkin / vjson

Automatically exported from code.google.com/p/vjson
3 stars 2 forks source link

local functions shoud be static for optimization. #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. N/A

What is the expected output? What do you see instead?
N/A.

What version of the product are you using? On what operating system?
Source downloaded 2013-10-17. No source version found.

---
To allow the compiler to optimize the code, the following functions in json.cpp 
should use the static keyword modifier:

atoi
hatoui
atof
json_alloc
json_append

This is important if the code is compiled into a static or shared library.

Original issue reported on code.google.com by mcleo...@gmail.com on 18 Oct 2013 at 12:56

GoogleCodeExporter commented 9 years ago

Original comment by viv...@gmail.com on 30 Oct 2013 at 12:01