1. 03 Dec, 2009 3 commits
    • Russ Cox's avatar
      8g: discard tempalloc/tempfree experiment · 69c0edd5
      Russ Cox authored
      in favor of tempname.
      allows optimizer to do more.
      unfortunately, optimizer seems to be broken; disable it.
      
      R=ken2
      https://golang.org/cl/163091
      69c0edd5
    • Russ Cox's avatar
      6g etc: groundwork for eliminating redundant bounds checks. · fdb030d8
      Russ Cox authored
      	drop check in range over array.
      	drop check in [256]array indexed by byte.
      
      R=ken2
      https://golang.org/cl/163088
      fdb030d8
    • Robert Griesemer's avatar
      Add flag -tabindent to gofmt: forces use of · dc7355a9
      Robert Griesemer authored
      tabs for indentation even if -spaces is set.
      
      Changes to gofmt:
      - added -tabindent flag
      - don't recompute parser and printer mode repeatedly
      
      Changes to go/printer:
      - provide new printing mode TabIndent
      
      Changes to tabwriter:
      - implement new mode TabIndent to use tabs independent
        of the actual padding character for leading empty columns
      - distinguish between minimal cell width and tab width
        (tabwidth is only used if the output contains tabs,
        minwidth and padding are always considered)
      - fixed and added more comments
      - some additional factoring
      
      By default, -tabindent is disabled and the default gofmt
      behavior is unchanged. By setting -spaces and -tabindent,
      gofmt will use tabs for indentation but do any other
      alignment with spaces. This permits a user to change the
      visible indentation by simply changing the editor's tab
      width and the code will remain properly aligned without
      the need to rerun gofmt.
      
      R=rsc
      https://golang.org/cl/163068
      dc7355a9
  2. 02 Dec, 2009 24 commits
  3. 01 Dec, 2009 12 commits
  4. 30 Nov, 2009 1 commit