Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Date plus Time sort from file

by soonix (Canon)
on Aug 15, 2013 at 09:17 UTC ( [id://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
.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found