LRU cache for ~=
Rainer Deyke
rainerd at eldwood.com
Mon Oct 19 18:57:55 PDT 2009
Andrei Alexandrescu wrote:
> Rainer Deyke wrote:
>> Your definition of "safe" is clearly not aligned with mine.
>
> What's yours?
Safety is not an absolute, but a question of degree. The harder it is
to write incorrect code, the safer the language.
One key element of this is deterministic behavior. If you rely on the
whim of the runtime to determine if two slices refer to the same data,
then it becomes much harder to reason about or test the code.
--
Rainer Deyke - rainerd at eldwood.com
More information about the Digitalmars-d
mailing list