in reply to Re: Re: Re: Thousands separator - this is getting annoying
in thread Thousands separator - this is getting annoying

I guess this is close to a pet peave of mine...

So, if I'm fetching 10,000 numbers of 300 digits each from my database, then using tr will save me 0.9 seconds. Nope, that sounds slight to me. (:

Yes, use tr in place of s when you can. Sometimes the performance difference will matter, but not this time. The tr solution has no drawbacks here so go for it. Just don't overstate the benefit.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: Thousands separator - this is getting annoying

Replies are listed 'Best First'.
Re: (tye)Re: Thousands separator - this is getting annoying
by mrmick (Curate) on Jan 17, 2001 at 18:46 UTC
    D'oh! I guess I'll have to watch out for that in the future...

    Funny thing is I am aware of tr but I think I was suffering from a brain cramp trying to solve a problem at work...

    I'm feeling much better now

    Thanks for pointing it out, though.(++ for those who corrected me)

    cheers,

    Mick