Re: best D equivalent to C'stimeval

2014-03-31 Thread Marco Leise
Am Mon, 31 Mar 2014 05:09:22 + schrieb "ed" : > Hi, > > Just wondering what the best replacement for C timeval is in D. > I'm looking at std.datetime.SysTime, but std.datetime is huge so > I'm not sure. > > Thanks, > ed If you just need to time something, TickDuration from core.time is an

Re: best D equivalent to C'stimeval

2014-03-30 Thread ed
On Monday, 31 March 2014 at 06:25:40 UTC, Jonathan M Davis wrote: On Monday, March 31, 2014 05:09:22 ed wrote: Hi, Just wondering what the best replacement for C timeval is in D. I'm looking at std.datetime.SysTime, but std.datetime is huge so I'm not sure. If you want an overview of std.da

Re: best D equivalent to C'stimeval

2014-03-30 Thread Jonathan M Davis
On Monday, March 31, 2014 05:09:22 ed wrote: > Hi, > > Just wondering what the best replacement for C timeval is in D. > I'm looking at std.datetime.SysTime, but std.datetime is huge so > I'm not sure. If you want an overview of std.datetime, read http://dlang.org/intro-to-datetime.html But yes

best D equivalent to C'stimeval

2014-03-30 Thread ed
Hi, Just wondering what the best replacement for C timeval is in D. I'm looking at std.datetime.SysTime, but std.datetime is huge so I'm not sure. Thanks, ed