Re: Optimizing ConstantPoolGen

2022-02-02 Thread Stefan Reich
Thank you On Wed, 2 Feb 2022 at 20:24, Gary Gregory wrote: > I would guess not. PRs (with tests) are welcome in GitHub. > > Gary > > On Wed, Feb 2, 2022, 12:02 Stefan Reich > wrote: > > > Hi folks, > > > > I'm getting into compiling my own little scripting language into Java > byte > > code. Sh

Re: Optimizing ConstantPoolGen

2022-02-02 Thread Gary Gregory
I would guess not. PRs (with tests) are welcome in GitHub. Gary On Wed, Feb 2, 2022, 12:02 Stefan Reich wrote: > Hi folks, > > I'm getting into compiling my own little scripting language into Java byte > code. Short experimentation with both Javassist and BCEL led me to use > BCEL. > > Just a q

Optimizing ConstantPoolGen

2022-02-02 Thread Stefan Reich
Hi folks, I'm getting into compiling my own little scripting language into Java byte code. Short experimentation with both Javassist and BCEL led me to use BCEL. Just a quick question: Has anyone looked into optimizing constant lookups in ConstantPoolGen (e.g. addInteger)? Right now, they are jus