さっと見てみたけれど、'()、nil、true、false(とunspecifiedとundefinedとeof)に別々の即値が割りあてられていて、コンパイラがまともならnilの存在でfixnumの比較命令ひとつ分しか変わらない、はず。よほどのことがない限り他の所に最適化の余地を見つけた方がリターンが大きそう。
さっと見てみたけれど、'()、nil、true、false(とunspecifiedとundefinedとeof)に別々の即値が割りあてられていて、コンパイラがまともならnilの存在でfixnumの比較命令ひとつ分しか変わらない、はず。よほどのことがない限り他の所に最適化の余地を見つけた方がリターンが大きそう。
senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.