Bug 207627 - [BigInt] Improve performance of IdentifierArena::makeBigIntDecimalIdentifier
Summary: [BigInt] Improve performance of IdentifierArena::makeBigIntDecimalIdentifier
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-12 05:05 PST by Caio Lima
Modified: 2020-02-12 05:05 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caio Lima 2020-02-12 05:05:10 PST
During parsing, we sometimes need to get the string on base 10 of a BigInt, but Lexer only provides us `bigIntString` and `radix` as information. It means that whenever radix is not 10, we need to do some computation to get the String that represents a BigInt on decimal base. Current approach is using JSBigInt to perform this operation, but this is a very naive and unoptimized. We should investigate better options there.