Forum Post: RE: GUID/sequence

  • Thread starter Thread starter Stefan Drissen
  • Start date Start date
Status
Not open for further replies.
S

Stefan Drissen

Guest
beginetienne Adding "if true then." slows down on my version of OE much more than 2 ms for 1M iterations. Increment a variable, or casting an integer to string is just as slow as guid(). i = i + 1 is "slow", in comparison to an iteration with no code. I'd rather have a faster substring() function than guid(). This sounds a lot like another conversation on the PEG (or here don't remember) about class instantiation in ABL vs .NET. E- I'm using prowin.exe on 11.4 x64 on Vista x64 on a five year old i7-920. For one million iterations: description ms empty loop 221 if true then . 388 today 847 time 747 string( ii ) 737 string( ii, " 9" ) 1788 substring( "", ii, 1 ) 588 it = it + 1 653 guid 50000 This is not slower - it is crawling. But again - just an observation. Right... so I pulled out 11.2.1 32-bit - 1 million guids in 472 ms.... Is the 11.2.1 guid generator broken and functionally fixed at the expense of performance in 11.4 x64?

Continue reading...
 
Status
Not open for further replies.
Back
Top