Re: RFR: 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field

2024-11-14 Thread Raffaello Giulietti
On Thu, 7 Nov 2024 06:32:42 GMT, Andrey Turbanov wrote: >> This helps in reducing memory consumption, especially for long inputs. > > src/java.base/share/classes/jdk/internal/math/FloatingDecimal.java line 1875: > >> 1873: } // look for and process decimal floating-point string >> 1

Re: RFR: 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field

2024-11-13 Thread Joe Darcy
On Mon, 21 Oct 2024 14:25:06 GMT, Raffaello Giulietti wrote: > This helps in reducing memory consumption, especially for long inputs. Marked as reviewed by darcy (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/21614#pullrequestreview-2435061028

Re: RFR: 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field

2024-11-06 Thread Andrey Turbanov
On Mon, 21 Oct 2024 14:25:06 GMT, Raffaello Giulietti wrote: > This helps in reducing memory consumption, especially for long inputs. src/java.base/share/classes/jdk/internal/math/FloatingDecimal.java line 1875: > 1873: } // look for and process decimal floating-point string > 187

RFR: 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field

2024-10-21 Thread Raffaello Giulietti
This helps in reducing memory consumption, especially for long inputs. - Commit messages: - Adjusted test to make use of byte[]. - 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field Changes: https://git.openjdk.org/jdk/pull/21614/files Webrev: https://web

Re: RFR: 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field

2024-10-21 Thread Raffaello Giulietti
On Mon, 21 Oct 2024 14:25:06 GMT, Raffaello Giulietti wrote: > This helps in reducing memory consumption, especially for long inputs. This is the first PR of a series aimed at reducing overall CPU and memory consumption in string->floating-point conversions. - PR Comment: https:/