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

Re: Date plus Time sort from file

by soonix (Curate)
on Aug 15, 2013 at 09:17 UTC ( #1049531=note: print w/ replies, xml ) Need Help??


in reply to Date plus Time sort from file

In addition to what tobyink and Laurent_R just said: in your case, when you are sorting data from just one day (or even one month), you can sort by the default (complete record) without splitting or transforming. Of course (epending on how long your records are), sort might lose - performancewise - what you gain by omitting those steps, but even then

  • if you need to run this just once, run time does not matter as much as programming time
  • if specifications/requirements change relatively often (or are not yet stable), it is more important to have code that is easy to understand than code that is efficient
.


Comment on Re: Date plus Time sort from file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2014-12-22 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (130 votes), past polls