Talk:Development:Script:obj2obj converter

From VsWiki
Jump to: navigation, search

Tips on code style

  • You can have if / elsif with perl as it optmizes for switch or not depending on what will be faster.
    (Or atleast it's supposed to). (by this guest via PM)
    • Pontiac 12:36, 10 May 2005 (PDT) Yeah, i know, but this is a minor performance thing.
      The main problems i'm getting are the storage of a huge amount of data in memory (hashes with several tousands of entries and the like) and recursive functions everywhere using them :-/
      Is there an easy solution to map a big hash to a temp-file so it save precious memory?
  • It may be ugly, but gotos may be better then using subs in perl as perl's subs are ineffecient. Might get you some speed increase? (by guest via PM)