summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/slice.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18Imported Upstream version 2011.02.15Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-113/+195
2010-05-03runtime, strconv: tiny cleanupsRuss Cox1-3/+1
R=r CC=golang-dev http://codereview.appspot.com/1081042
2010-05-01gc: be pickier about slice, chan, array, and map sizesRuss Cox1-8/+11
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1032044
2010-04-09runtime: delete malx, skip_depth argument to mallocRuss Cox1-1/+1
remove internal functions from traces in gopprof instead. R=r CC=golang-dev http://codereview.appspot.com/855046
2010-04-01runtime: turn run time errors checks into panicsRuss Cox1-16/+3
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
2010-03-23runtime: add memory profiling, disabled.Russ Cox1-1/+1
no way to get the data out yet. add prototype for runtime.Callers, missing from last CL. R=r CC=golang-dev http://codereview.appspot.com/713041
2010-02-10runtime: garbage collection + malloc performanceRuss Cox1-2/+2
* add bit tracking finalizer status, avoiding getfinalizer lookup * add ability to allocate uncleared memory R=iant CC=golang-dev http://codereview.appspot.com/207044
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox1-54/+54
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2009-12-07runtime: introduce unsafe.New and unsafe.NewArrayRuss Cox1-3/+2
to provide functionality previously hacked in to reflect and gob. R=r http://codereview.appspot.com/165076
2009-12-07pick off special one-byte case in copy. worth 2x in benchmarks (38ns->16ns).Rob Pike1-1/+5
the one-item case could be generalized easily with no cost. worth considering. R=rsc CC=golang-dev, cw http://codereview.appspot.com/167044
2009-12-06runtime: disable pointer scan optimizationRuss Cox1-1/+3
* broken by reflect, gob TBR=r http://codereview.appspot.com/166077
2009-12-04gc/runtime: pass type structure to makeslice.Russ Cox1-13/+13
* inform garbage collector about memory with no pointers in it 1.9s gcc reverse-complement.c reverse-complement.go 4.5s / 3.5s original, with/without bounds checks 3.5s / 3.3s bounds check reduction 3.3s / 2.8s smarter garbage collector 2.6s / 2.3s assembler bytes.IndexByte 2.5s / 2.1s even smarter garbage collector (this CL) R=r http://codereview.appspot.com/165064
2009-11-20x[lo:] - gc and runtime.Russ Cox1-30/+44
* add runtime sliceslice1 for x[lo:] * remove runtime arraytoslice, rewriting &arr into arr[0:len(arr)]. * port cgen_inline into 8g, 5g. * use native memmove in maps R=ken2 http://codereview.appspot.com/157106
2009-11-17bug in copyKen Thompson1-1/+1
R=rsc http://codereview.appspot.com/156056
2009-11-17install copy predefinedKen Thompson1-0/+33
did not test 386, but should work shouldnt matter if copy is not used R=rsc http://codereview.appspot.com/156055
2009-10-20bug162, over and overRuss Cox1-0/+14
R=ken OCL=35919 CL=35919
2009-10-15rename sys functions to runtime,Russ Cox1-44/+44
because they are in package runtime. another step to enforcing package boundaries. R=r DELTA=732 (114 added, 93 deleted, 525 changed) OCL=35811 CL=35824
2009-08-25rename runtime internals to have modern names (array->slice etc)Rob Pike1-0/+175
R=rsc DELTA=444 (179 added, 177 deleted, 88 changed) OCL=33847 CL=33849