JSON-java
JSON-java copied to clipboard
Why is JSONObject(int initialCapacity) protected and not public ?
Hello,
Is there any reason why JSONObject(int initialCapacity) is protected and not public ? When building a JSONObject from scratch it would be nice to be able to provide the initial capacity for improved performances.
@omasseau how much of a performance improvement will this provide?
Closed due to lack of activity