Hacker News new | past | comments | ask | show | jobs | submit login

For some reason, I was a bit suprised for the extensive use of gotos. Thanks for sharing this pearl!



This is cute:

  	switch (o=symbol()) {
    ....
  /* short constant */
  	case 21:
  	case21:
		*cp++ = block(1,21,ctyp,0,cval);
		goto tand;

   .... elsewhere in the switch ....

        		cval = -cval;
				goto case21;




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: