Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1175)

Side by Side Diff: src/cmd/gc/runtime.go

Issue 83740044: code review 83740044: cmd/gc, runtime: optimize map[string] lookup from []byte key (Closed)
Patch Set: diff -r aef2ad3cae31 https://code.google.com/p/go/ Created 9 years, 12 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/cmd/gc/order.c ('k') | src/cmd/gc/walk.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // NOTE: If you change this file you must run "./mkbuiltin" 5 // NOTE: If you change this file you must run "./mkbuiltin"
6 // to update builtin.c. This is not done automatically 6 // to update builtin.c. This is not done automatically
7 // to avoid depending on having a working compiler binary. 7 // to avoid depending on having a working compiler binary.
8 8
9 // +build ignore 9 // +build ignore
10 10
(...skipping 29 matching lines...) Expand all
40 func concatstring2(string, string) string 40 func concatstring2(string, string) string
41 func concatstring3(string, string, string) string 41 func concatstring3(string, string, string) string
42 func concatstring4(string, string, string, string) string 42 func concatstring4(string, string, string, string) string
43 func concatstring5(string, string, string, string, string) string 43 func concatstring5(string, string, string, string, string) string
44 func concatstrings([]string) string 44 func concatstrings([]string) string
45 45
46 func cmpstring(string, string) int 46 func cmpstring(string, string) int
47 func eqstring(string, string) bool 47 func eqstring(string, string) bool
48 func intstring(int64) string 48 func intstring(int64) string
49 func slicebytetostring([]byte) string 49 func slicebytetostring([]byte) string
50 func slicebytetostringtmp([]byte) string
50 func slicerunetostring([]rune) string 51 func slicerunetostring([]rune) string
51 func stringtoslicebyte(string) []byte 52 func stringtoslicebyte(string) []byte
52 func stringtoslicerune(string) []rune 53 func stringtoslicerune(string) []rune
53 func stringiter(string, int) int 54 func stringiter(string, int) int
54 func stringiter2(string, int) (retk int, retv rune) 55 func stringiter2(string, int) (retk int, retv rune)
55 func copy(to any, fr any, wid uintptr) int 56 func copy(to any, fr any, wid uintptr) int
56 func slicestringcopy(to any, fr any) int 57 func slicestringcopy(to any, fr any) int
57 58
58 // interface conversions 59 // interface conversions
59 func typ2Itab(typ *byte, typ2 *byte, cache **byte) (ret *byte) 60 func typ2Itab(typ *byte, typ2 *byte, cache **byte) (ret *byte)
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 143
143 func complex128div(num complex128, den complex128) (quo complex128) 144 func complex128div(num complex128, den complex128) (quo complex128)
144 145
145 // race detection 146 // race detection
146 func racefuncenter(uintptr) 147 func racefuncenter(uintptr)
147 func racefuncexit() 148 func racefuncexit()
148 func raceread(uintptr) 149 func raceread(uintptr)
149 func racewrite(uintptr) 150 func racewrite(uintptr)
150 func racereadrange(addr, size uintptr) 151 func racereadrange(addr, size uintptr)
151 func racewriterange(addr, size uintptr) 152 func racewriterange(addr, size uintptr)
OLDNEW
« no previous file with comments | « src/cmd/gc/order.c ('k') | src/cmd/gc/walk.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b