Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Performance Trap - Opening/Closing Files Inside a Loop

by runrig (Abbot)
on Dec 10, 2004 at 01:15 UTC ( #413737=note: print w/replies, xml ) Need Help??

in reply to Performance Trap - Opening/Closing Files Inside a Loop

Have they mentioned yet how fast the java solution is? And how many LOC? Is it even done yet :) ?? Without knowing what data is typical, there's no way to tell which solution is best. Your first solution is the simplest and safest without knowing what the data is (and like you said, it would've been done by now anyway). The FileCache mentioned earlier or your hash solution might be the best depending on the data. But don't be too disappointed if they don't listen and think perl is "too slow" and don't realize that perl (or some other "scripting language") would've been perfect for this. Also, if they are too perl-inexperienced (and/or java-centric) to realize this, then any perl solution is unmaintainable to them.
  • Comment on Re: Performance Trap - Opening/Closing Files Inside a Loop

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://413737]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-05-21 02:02 GMT
Find Nodes?
    Voting Booth?