Shaojin Wen

Results 16 issues of Shaojin Wen

目前生成代码修改JSONType的serializer和deserializer,这个需要反射获取,这个在graalvm native-image下需要额外配置META-INF/native-image/reflect-config.json,比如 ![image](https://github.com/alibaba/fastjson2/assets/1166785/2b1a5e9f-9de5-4881-80d5-6b9c812f16d5)

enhancement

This is a small improvement, no change in logic, just a common programming style change, using Lambda instead of anonymous inline class. Most of the line changes here are due...

core-libs

We need a String format solution with good performance. String Template was once expected, but it has been removed. j.u.Formatter is powerful, but its performance is not good enough. This...

rfr
core-libs
i18n

In JDK 21, StringBuilder added a repeat method, which can be used to improve j.u.Formatter#trailingZeros --------- ### Progress - [x] Change must be properly reviewed (1 review required, with at...

ready
rfr
sponsor
core-libs
i18n

1. Added the putBytes4 benchmark, which corresponds to StringBuilder appendNull 2. Optimized the putChars4/setInt/setLong series of benchmarks to reduce extra overhead and more accurately reflect performance differences. --------- ### Progress...

hotspot-compiler

Move getChars methods of StringLatin1 and StringUTF16 to DecimalDigits to reduce duplication 1. HexDigits and OctalDigits also include getCharsLatin1 and getCharsUTF16 2. Putting these two methods into DecimalDigits can avoid...

rfr
core-libs