|
From: Christoph J. <chr...@ma...> - 2018-05-03 13:22:18
|
Hi, due to time constraints I did not have the time to follow up on several of the older PRs. But I'm on it now and the changes will go into QFJ 2.1.0. Release date TBD. But I assume it will be in the first half of 2018. Cheers, Chris. P.S.: What is "your group"? ;) On 03/05/18 15:19, Joshua Johnson wrote: > Yep, I've been going through the commits for this pull and came across that one. Looks like it > meets our group's specific needs (and more). I see the original pull request came in 2015. Any > idea when this might make it in to the release branch (apologies in advance if there's somewhere > to find this out as as I'm not familiar with how it all works)? > > Josh > > > On Thu, May 3, 2018 at 9:07 AM, Christoph John <chr...@ma... > <mailto:chr...@ma...>> wrote: > > Just realized that there are many commits due to the late merge. > Here is the commit of interest > https://github.com/quickfix-j/quickfixj/pull/39/commits/8a1cfb78666a5f601c311931410781163a336058 > <https://github.com/quickfix-j/quickfixj/pull/39/commits/8a1cfb78666a5f601c311931410781163a336058> > > Chris. > > On 02/05/18 23:37, Christoph John via Quickfixj-users wrote: >> QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ <http://www.quickfixj.org/documentation/> >> QuickFIX/J Support:http://www.quickfixj.org/support/ <http://www.quickfixj.org/support/> >> >> >> >> >> Hi, >> >> there is this pull request which should do what you want: >> https://github.com/quickfix-j/quickfixj/pull/39 <https://github.com/quickfix-j/quickfixj/pull/39> >> >> Cheers, >> Chris. >> >> On 02/05/18 23:31, Joshua Johnson wrote: >>> QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ <http://www.quickfixj.org/documentation/> >>> QuickFIX/J Support:http://www.quickfixj.org/support/ <http://www.quickfixj.org/support/> >>> >>> >>> >>> >>> Hi, >>> >>> Has there been any discussion about quickfix.Message::toString() using a ThreadLocal >>> StringBuilder instead of a heap allocated StringBuilder()? For large volume fix users I >>> would think reusing a StringBuilder (which would quickly grow to an optimal size since I >>> imagine most fix msgs are close in size) would be be a net positive. >>> >>> I was thinking of just rolling a custom for our use, something like: >>> >>> --- [snip] --- >>> class Message >>> { >>> ... >>> final ThreadLocal<StringBuilder> tlsb = new ThreadLocal<StringBuilder>() { >>> @Override >>> public StringBuilder initialValue() >>> { >>> return new StringBuilder(); >>> } >>> }; >>> >>> ... >>> >>> @Override >>> public String toString() { >>> ... >>> final StringBuilder sb = tlsb.get(); >>> sb.setLength(0); >>> header.calculate(sb, null, null); >>> ... >>> } >>> >>> --- [/snip] --- >>> >>> Seems however that maybe this would be desired by others so maybe this might be a good >>> change to give back to the community. I imagine there might be those who want/need to have >>> the heap allocated StringBuilder so maybe setting this behavior per Session would be the way >>> to go. >>> >>> Thoughts? >>> Josh >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org!http://sdm.link/slashdot >>> >>> >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... <mailto:Qui...@li...> >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> <https://lists.sourceforge.net/lists/listinfo/quickfixj-users> >> >> -- >> Christoph John >> Development & Support >> T +49 241 557080-28 >> chr...@ma... <mailto:chr...@ma...> >> >> MACD GmbH >> Oppenhoffallee 103 >> D-52066 Aachen >> www.macd.com <http://www.macd.com> >> >> Amtsgericht Aachen: HRB 8151 >> Ust.-Id: DE 813021663 >> Geschäftsführer: George Macdonald >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org!http://sdm.link/slashdot >> >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... <mailto:Qui...@li...> >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> <https://lists.sourceforge.net/lists/listinfo/quickfixj-users> > > -- > Christoph John > Development & Support > T +49 241 557080-28 > chr...@ma... <mailto:chr...@ma...> > > MACD GmbH > Oppenhoffallee 103 > D-52066 Aachen > www.macd.com <http://www.macd.com> > > Amtsgericht Aachen: HRB 8151 > Ust.-Id: DE 813021663 > Geschäftsführer: George Macdonald > > -- Christoph John Development & Support T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 D-52066 Aachen www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |