Re: Reverse() was: Win32Lib Update

new topic     » goto parent     » topic index » view thread      » older message » newer message

>> As I recall, an append/prepend as only statement in a for-block will be
>> optimized to one alloc, one pass proccesing.
>errrrr.... i really don't think so....
>see irv's benchmarks...
>ummmm.... the prepend came in last... :/

;-(

Robert, said append and prepend were like, really really optimized.
And for-statements as well..

So, Robert (or Junko now it seems blink again, could there be some 'extra'
optimization with statement blocks like for- and while- . Esspecially when
they contain only one statement. (which should be fairly easy to optimize).
But I was also thinking of multiple 'slices'/'indexes' to be looked up only
once, within a statement block. And off couse the "for each item in
my-sequence do" - syntax provides both optimization 'oppertunities' as well
as increased error checking, and more readable code.

Ralf

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu