NEW207627
[BigInt] Improve performance of IdentifierArena::makeBigIntDecimalIdentifier
https://bugs.webkit.org/show_bug.cgi?id=207627
Summary [BigInt] Improve performance of IdentifierArena::makeBigIntDecimalIdentifier
Caio Lima
Reported 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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.