Git Product home page Git Product logo

Comments (5)

CodingOX avatar CodingOX commented on May 16, 2024 6

还是用jackson靠谱

那你也就没必要浪费时间在这里回复啦!

from fastjson2.

gengxiz avatar gengxiz commented on May 16, 2024 3

还是用jackson靠谱

from fastjson2.

oldratlee avatar oldratlee commented on May 16, 2024 1

source line info of 7d17737:

# test code
$ scc **/test/
───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines   Blanks  Comments     Code Complexity
───────────────────────────────────────────────────────────────────────────────
Java                      1266    117722    20398      4596    92728       1877
JSON                        30      3247       21         0     3226          0
Kotlin                       4       183       35        15      133         22
───────────────────────────────────────────────────────────────────────────────
Total                     1300    121152    20454      4611    96087       1899
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $3,261,318
Estimated Schedule Effort (organic) 21.552789 months
Estimated People Required (organic) 13.443292
───────────────────────────────────────────────────────────────────────────────
Processed 3658343 bytes, 3.658 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────

# product code
$ scc **/main/
───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines   Blanks  Comments     Code Complexity
───────────────────────────────────────────────────────────────────────────────
Java                       432     90462    11040      4421    75001      17001
───────────────────────────────────────────────────────────────────────────────
Total                      432     90462    11040      4421    75001      17001
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $2,514,292
Estimated Schedule Effort (organic) 19.524145 months
Estimated People Required (organic) 11.440885
───────────────────────────────────────────────────────────────────────────────
Processed 3101048 bytes, 3.101 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────

# product code of core module
$ scc core/src/main
───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines   Blanks  Comments     Code Complexity
───────────────────────────────────────────────────────────────────────────────
Java                       379     79331     9670      2604    67057      14909
───────────────────────────────────────────────────────────────────────────────
Total                      379     79331     9670      2604    67057      14909
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $2,235,432
Estimated Schedule Effort (organic) 18.671168 months
Estimated People Required (organic) 10.636680
───────────────────────────────────────────────────────────────────────────────
Processed 2701043 bytes, 2.701 megabytes (SI)

@adyliu @wenshao

from fastjson2.

wenshao avatar wenshao commented on May 16, 2024

有些重复代码是手工inline导致的,目前Java JIT做得不够好,手动inline能减少调用栈,提升性能。在基础类库中,测试覆盖做得足够时可以这样做的。

from fastjson2.

wenshao avatar wenshao commented on May 16, 2024

core部分的文件是379个,其他的主要是testcase,比如core的testcase是1868个。兼容包也占了很多。没有你说的那么夸张呢!

from fastjson2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.