Skip to content

Commit

Permalink
Remove code intended for Go 1.4 and older.
Browse files Browse the repository at this point in the history
This change only removes optimizations for older Go releases that we
no longer support in the internal/zero package.  This package should
still continue to build on older releases.
jrick committed Apr 28, 2016
1 parent b97d824 commit 42593c7
Showing 2 changed files with 1 addition and 54 deletions.
5 changes: 1 addition & 4 deletions internal/zero/slice.go
Original file line number Diff line number Diff line change
@@ -3,10 +3,7 @@
// license that can be found in the LICENSE file.

// This file implements range-based zeroing, which as of Go 1.5 is
// optimized using a Duff's device. See slice14.go for an implementation
// optimized for previous Go versions.
//
// +build !go1.3,!go1.4
// optimized using a Duff's device.

package zero

50 changes: 0 additions & 50 deletions internal/zero/slice14.go

This file was deleted.

0 comments on commit 42593c7

Please sign in to comment.