graydon/rust — Issue #1271: Tags should be represented using null ptrs where possible
Author: nikomatsakis
Created: 2011-12-08 01:17:03+00:00
State: open

A tag with one nullary variant and one variant that accepts only a pointer should be implemented using a null pointer at runtime. This would save space and be generally nifty.