Date: Thu, 22 Aug 2024 11:07:05 -0500
On Thu, Aug 22, 2024 at 10:29 AM Thiago Macieira <thiago_at_[hidden]> wrote:
>
> On Thursday 22 August 2024 08:22:36 GMT-7 René Ferdinand Rivera Morell via
> Std-Proposals wrote:
> > Given that.. It would be more useful to standardize some form of
> > __UUID__ that matches the current __COUNTER__ use cases.
>
> Why would it be? Wouldn't it need to guarantee it doesn't return a duplicate?
> In which case, the UUID implementation will probably be based on a counter.
A UUID could hash and take into account context like line, source
file, function, to create more stable keys that a counter can do.
>
> On Thursday 22 August 2024 08:22:36 GMT-7 René Ferdinand Rivera Morell via
> Std-Proposals wrote:
> > Given that.. It would be more useful to standardize some form of
> > __UUID__ that matches the current __COUNTER__ use cases.
>
> Why would it be? Wouldn't it need to guarantee it doesn't return a duplicate?
> In which case, the UUID implementation will probably be based on a counter.
A UUID could hash and take into account context like line, source
file, function, to create more stable keys that a counter can do.
-- -- René Ferdinand Rivera Morell -- Don't Assume Anything -- No Supone Nada -- Robot Dreams - http://robot-dreams.net
Received on 2024-08-22 16:07:20