<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        
                                        
                                            
                                        
                                        
                                        Hi, all. :-)<div><br></div><div>I think that it would be better to only allow a small set of characters to be used as placeholders. So, -1 for Unicode support in {}-placeholders. Unicode applications should have to convert user-defined unicode patterns manually if they want to support unicode placeholders.</div><div><br></div><div>Here are some benchmarks. Not that much difference.</div><div><br></div><div><div>[ '{2} He\{ll\}o {1} World!' format: { 'Smalltalk' . 'Hey' } ] bench.</div><div><br></div><div>'BEFORE: 1,270,000 per second. 789 nanoseconds per run.'</div><div>'AFTER: 1,070,000 per second. 931 nanoseconds per run.'</div></div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div>
                                        
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 16.08.2019 14:50:00 schrieb Jakob Reschke <forums.jakob@resfarm.de>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div dir="ltr">Am Fr., 16. Aug. 2019 um 14:38 Uhr schrieb Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de">Christoph.Thiede@student.hpi.uni-potsdam.de</a>>:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex;border-left: 1px solid rgb(204,204,204);padding-left: 1ex;min-width: 500px">



<div>
<div dir="auto" style="direction: ltr;margin: 0px;padding: 0px;font-family: sans-serif;font-size: 11pt;color: black">
> I personally see little value in having 63 ways to write a single digit in my Smalltalk method.<br>
<br>
</div>
<div dir="auto" style="direction: ltr;margin: 0px;padding: 0px;font-family: sans-serif;font-size: 11pt;color: black">
But if we don't support this, we are breaking with the standards from NumberParser. Wouldn't this be inconsistent?</div></div></blockquote><div><br></div><div>What is the objective of NumberParser? Parse numbers from arbitrary sources of text? Then I would say it has a different scope than what is required for the formatting placeholders.</div><div><br></div><div>If SqNumberParser is the one that is used to parse numbers from Smalltalk expressions and if it supports non-ascii digits, then I wonder whether this is really desired behavior.</div></div></div>
</div></blockquote></div>