Implement the "unum" representation in D ?

via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 13 14:25:11 PDT 2015


On Thursday, 20 February 2014 at 21:30:10 UTC, jerro wrote:
> Also, because they are variable sized, you need to access them 
> through pointers if you want random access. Now you are reading

Unless the author was thinking in terms of D Ranges, for the 
algorithms that does *not* require random access.

Can we do anything useful with unums in numeric algorithms if 
only have forward or bidirectional access? Similar to algorithms 
such as Levenshtein that are compatible with UTF-8 and UTF-16, 
Andrei? :)


More information about the Digitalmars-d mailing list