Descriptionruntime: inline size to class conversion in malloc()
Also change table type from int32[] to int8[] to save space in L1$.
benchmark old ns/op new ns/op delta
BenchmarkMalloc 42 40 -4.68%
Patch Set 1 #Patch Set 2 : diff -r d29da2ced72b https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r d29da2ced72b https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 4 : diff -r d29da2ced72b https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 5 : diff -r ebe8bca920ad https://dvyukov%40google.com@code.google.com/p/go/ #
MessagesTotal messages: 5
|