Changeset: 530a6ac6e5fd for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=530a6ac6e5fd Modified Files: monetdb5/modules/mal/pqueue.mx Branch: default Log Message:
Remove the :void cases We have a long time decided to shield the physical representation of the oid implementation. diffs (50 lines): diff --git a/monetdb5/modules/mal/pqueue.mx b/monetdb5/modules/mal/pqueue.mx --- a/monetdb5/modules/mal/pqueue.mx +++ b/monetdb5/modules/mal/pqueue.mx @@ -37,7 +37,7 @@ @mal module pqueue; -command init(a:bat[:void,:any_1],maxsize:wrd):bat[:oid,:any_1] +command init(a:bat[:oid,:any_1],maxsize:wrd):bat[:oid,:any_1] address PQinit comment "Creates an empty pqueue of bat a's tailtype with maximum size maxsize"; @@ -58,18 +58,11 @@ address PQtopn_@1@2 comment "Return the topn elements of the bat t using a @2-pqueue"; -command topn_@2(t:bat[:void,:@1], n:wrd) :bat[:oid,:oid] -address PQtopn_@1@2 -comment "Return the topn elements of the bat t using a @2-pqueue"; command utopn_@2(t:bat[:oid,:@1], n:wrd) :bat[:oid,:oid] address PQutopn_@1@2 comment "Return the unique topn elements of the bat t using a @2-pqueue"; -command utopn_@2(t:bat[:void,:@1], n:wrd) :bat[:oid,:oid] -address PQutopn_@1@2 -comment "Return the unique topn elements of the bat t using a @2-pqueue"; - @= mel_minmax_any pattern topreplace_@1(h:bat[:oid,:any_1], id:oid, value:any_1) address PQtopreplace_any@1 @@ -87,18 +80,10 @@ address PQtopn_any@1 comment "Return the topn elements of the bat t using a @1-pqueue"; -command topn_@1(t:bat[:void,:any_1], n:wrd) :bat[:oid,:oid] -address PQtopn_any@1 -comment "Return the topn elements of the bat t using a @1-pqueue"; - command utopn_@1(t:bat[:oid,:any_1], n:wrd) :bat[:oid,:oid] address PQutopn_any@1 comment "Return the unique topn elements of the bat t using a @1-pqueue"; -command utopn_@1(t:bat[:void,:any_1], n:wrd) :bat[:oid,:oid] -address PQutopn_any@1 -comment "Return the unique topn elements of the bat t using a @1-pqueue"; - command topn_@1(a:bat[:oid,:oid], t:bat[:oid,:any_1], n:wrd) :bat[:oid,:oid] address PQtopn2_any@1 comment "Return the topn elements of the bat t using a @1-pqueue"; _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list