Re: A demo of Union/Find algorithm in ATS


#1

I suggest:

fun{} addr_of{a:t@ype} (pt a): ptr

Casting a pointer(64bit) to an integer(32bit) is a bit dangerous.


#2

A post was merged into an existing topic: A demo of Union/Find algorithm in ATS


#3