Jump to content


Photo

WeiDU craps itself...


  • Please log in to reply
2 replies to this topic

#1 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 19 June 2008 - 01:22 AM

...when I try to pass it ~1500 files to parse in an ACTION_FOR_EACH statement. Well, it doesn't bomb but it hangs indefinitely before even getting to the first component. And I do mean indefinitely - I think I left for a couple hours, came back and it was still sitting there doing nothing. Worked just fine when I gave it batches of 256 files instead. No idea if that's the actual limit though, anyone know?

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#2 Taimon

Taimon
  • Member
  • 387 posts

Posted 19 June 2008 - 01:27 AM

The issue is (most likely) fixed in v208.

#3 -Guest-

-Guest-
  • Guest

Posted 19 June 2008 - 08:20 AM

Parsing of large file lists grew almost exponentially when the parser was switched to elkhound. That's why the old parser wrapper is in the latest versions (as long as you stick to old grammar, the yacc parser will be used and will be lightning quick).

Thanks to research by Taimon, default parsing in v208 should be much faster (although I haven't done any speed tests; it may be slower in normal cases and faster in these edge cases on initial glance, but tolerable overall).