echo

package
v0.0.0-...-6fe4f4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 4 Imported by: 0

README

Exercise 1.3 (P8)

Experiment to measure the difference in running time between our potentially inefficient versions and the one last uses strings.Join. (Section 1.6 illustrates part of the time package, and Section 11.4 shows how to write benchmark tests for systematic performance evaluation.)

Documentation

Overview

Exercise 1.2 Test echo performance

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EchoJoin

func EchoJoin()

EchoJoin strings.Join to print os.Args

func EchoLen

func EchoLen()

EchoLen use len to loop os.Args and contruct string directly

func EchoRange

func EchoRange()

EchoRange use Range to loop os.Args and contruct string directly

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳