Re: Brain-scratcher: likely a bug - please help me confirm and fix. Seems to only affect exw.exe

new topic     » goto parent     » topic index » view thread      » older message » newer message
CladStone said...

While benchmarking some procedures, I noticed some crazy timings that didn't make sense of what I expected,

[..]

The problem:
- Run the file with exw.exe
- The console window appears almost instantly, as expected.
- On line 2, change the 24 to 25, save and run it again.
- The console window is delayed about 2 seconds.

Next test:
- Rename the file "euphbug01.exw"
- Try with 24 and 25. Both make the console window appear immediately.
- Rename the file "euphbug01.ew"
- Try with 24 and 25. Now 24 is the one delayed a couple seconds, while 25 finishes immediately.

possibly the file associations are running *.ex with ex.exe vrs *.exw with exw.exe?

I also can't duplicate this on v4 w/eui.exe for all.

try using include machine.e and misc.e and replacing the machine_funct hardwired constants with the functions allocate and get_key or whatever they are. this probably won't impact the benchmark much but the program will be quite a bit more readable. that has probably been benchmarked already.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu