[phobos] phobos commit, revision 1919

Andrei Alexandrescu andrei at erdani.com
Mon Aug 23 03:57:25 PDT 2010


Suggestions:

1. Put it inside std.date, though I agree that the name isn't suggestive 
(it does include time-related stuff as of today).

2. Create std.datetime from std.gregorian and stopwatch, and when we're 
done with the calendar stuff (did you guys see the recent related 
posts?) we deprecate std.date.

3. Create std.time, put stopwatch in it, and later move std.gregorian in 
std.date.

Opinions? Shoo, what's your preference?


Andrei

On 08/23/2010 04:12 AM, Lars Tandle Kyllingstad wrote:
> Me too.  IMHO, it should either be part of a new std.datetime module
> together with the std.gregorian stuff, or std.stopwatch should be
> renamed to std.timer, std.timing, or something like that.
>
> -Lars
>
>
>
> On Sun, 2010-08-22 at 23:00 -0500, Andrei Alexandrescu wrote:
>> Still unhappy about the addition of a module with a name narrow enough
>> to preclude any further extensions.
>>
>> Andrei
>>
>> On 08/22/2010 10:11 AM, dsource.org wrote:
>>> phobos commit, revision 1919
>>>
>>>
>>> user: SHOO
>>>
>>> msg:
>>> Added stopwatch module
>>>
>>> Added StopWatch, Ticks, systime, apptime, comparingBenchmark, measureTime.
>>>
>>> http://www.dsource.org/projects/phobos/changeset/1919
>>>
>>> _______________________________________________
>>> phobos mailing list
>>> phobos at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/phobos
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list