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

Issue 136020043: code review 136020043: runtime: preallocate panic errors for index and slice (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by rsc
Modified:
10 years, 6 months ago
Reviewers:
r, khr1
CC:
golang-codereviews, r, khr1, dvyukov, iant, khr
Visibility:
Public.

Description

runtime: preallocate panic errors for index and slice This avoids allocating at the panic sites.

Patch Set 1 #

Patch Set 2 : diff -r 7786bd1553ab00632e8ea85a78d640eb19c9d490 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 7786bd1553ab00632e8ea85a78d640eb19c9d490 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 70fc2e0dcd39524bf0a596e464cba15f2938b13a https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M src/pkg/runtime/panic.go View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello golang-codereviews@googlegroups.com (cc: dvyukov, iant, khr, r), I'd like you to review this change to ...
10 years, 6 months ago (2014-08-30 17:45:58 UTC) #1
r
LGTM
10 years, 6 months ago (2014-08-30 17:50:00 UTC) #2
khr1
LGTM. I have to do this for panicdivide as well. On Sat, Aug 30, 2014 ...
10 years, 6 months ago (2014-08-30 18:05:31 UTC) #3
rsc
10 years, 6 months ago (2014-08-30 18:18:38 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=a3136bee82dd ***

runtime: preallocate panic errors for index and slice

This avoids allocating at the panic sites.

LGTM=r, khr
R=golang-codereviews, r, khr
CC=dvyukov, golang-codereviews, iant, khr
https://codereview.appspot.com/136020043
Sign in to reply to this message.

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