Community
Participate
Working Groups
QuotedStringTokenizer.quote() performance is critical to JSON generation, since field names must be quoted and field values are most of the times strings.
Fixed by rewriting the method to less code and using a small array to lookup escapes. This version yields a 35-40% improvement over the previous version.