[polyml] run-time cost of single-constructor datatypes