Re: help on regular expression



Tad J McClellan wrote:
Tao Li <pathexplorer@xxxxxxxxx> wrote:

undef $/;

while ( <> ) {


How many iterations to you expect from that loop?

Depends on how many file names are in @ARGV. :-)



John
--
Those people who think they know everything are a great
annoyance to those of us who do. -- Isaac Asimov
.



Relevant Pages

  • Re: Can this loop be made faster ?
    ... |> Optimisation: maximal 16 iterations for loops which contain one branch, ... |> otherwise the branch-prediction-table will reload (8 clocks penalty ... |> every/after 16 iterations on AMD). ... but if a second Jcc is within the loop then there are more ...
    (alt.lang.asm)
  • Re: Can this loop be made faster ?
    ... increments, of course, the MEMORY at eax ... at least within the loop. ... maximal 16 iterations for loops which contain one branch, ... | routine, and the time is the divided by 100000 after all the calls. ...
    (alt.lang.asm)
  • Re: [HttpException (0x80004005): Request timed out.] When viewing long running web part
    ... > Hi Tad, ... > which will access the document library metadata, ... > document lib metadata to see whether there is one long loop for this. ...
    (microsoft.public.sharepoint.portalserver.development)
  • [Pos] Some quest reward problems identified [Pos]
    ... randart.txt every single time a rand-art is created, ... The tailored reward loop should theoretically trigger a pretty sane ... The number of iterations is fame/5. ... Will look for the rand-art issue later... ...
    (rec.games.roguelike.angband)
  • Re: ODE - nested loops *complex*
    ... The logistic growth model given below is often used to describe the population growth where r is the population growth rate ad K is the maximum population. ... Use loop to iterate through possible values for parameters r and Kto fit the logistic growth ODE within 15 seconds time limit. ... 21 iterations here per outer loop iteration in the worst case scenario. ...
    (comp.soft-sys.matlab)