[ 
https://issues.apache.org/jira/browse/IGNITE-10076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Kuznetsov reassigned IGNITE-10076:
-----------------------------------------

    Assignee: Andrey Novikov  (was: Alexey Kuznetsov)

After investigations and benchmarks I found that

'json-bigint' is slow, but universal.

Regexp is much faster, but it is very hard to correctly parse long numbers via 
regexp.

And we need support big numbers only for queries so far.

So, I added a flag 'useBigIntJson = true' only when queries result should be 
parsed.

[~anovikov], Please review my changes in PR 5709

 

> Web Console: Investigate big number parsing in JSON
> ---------------------------------------------------
>
>                 Key: IGNITE-10076
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10076
>             Project: Ignite
>          Issue Type: Improvement
>          Components: wizards
>            Reporter: Alexey Kuznetsov
>            Assignee: Andrey Novikov
>            Priority: Major
>             Fix For: 2.8
>
>
> To fix issue with big numbers (see IGNITE-6570) we are using "json-bigint" 
> library.
> And I found that it is not very effective (3x time slower that native 
> JSON.parse()).
> Need to investigate (could be done as part of IGNITE-5617).
> See also:
> [http://derpturkey.com/untitled/]
> [https://github.com/josdejong/lossless-json]
> [https://github.com/sidorares/json-bigint]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to