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

Issue 6296045: code review 6296045: exp/html/atom: add more atoms. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by nigeltao
Modified:
12 years, 10 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

exp/html/atom: add more atoms. This completely covers the tags used by exp/html's parser. Before: 295 atoms; 1406 string bytes + 2048 tables = 3454 total data BenchmarkLookup 50000 59841 ns/op After: 322 atoms; 1508 string bytes + 2048 tables = 3556 total data BenchmarkLookup 50000 60159 ns/op

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+740 lines, -609 lines) Patch
M src/pkg/exp/html/atom/atom.go View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/exp/html/atom/atom_test.go View 1 1 chunk +21 lines, -0 lines 0 comments Download
M src/pkg/exp/html/atom/gen.go View 1 1 chunk +27 lines, -0 lines 0 comments Download
M src/pkg/exp/html/atom/table.go View 1 1 chunk +662 lines, -606 lines 0 comments Download
M src/pkg/exp/html/atom/table_test.go View 1 11 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 3
nigeltao
Hello r@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 10 months ago (2012-06-06 09:01:08 UTC) #1
r
LGTM
12 years, 10 months ago (2012-06-06 13:42:11 UTC) #2
nigeltao
12 years, 10 months ago (2012-06-06 23:36:09 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=00f8c6b8bd88 ***

exp/html/atom: add more atoms.

This completely covers the tags used by exp/html's parser.

Before:
295 atoms; 1406 string bytes + 2048 tables = 3454 total data
BenchmarkLookup    50000         59841 ns/op

After:
322 atoms; 1508 string bytes + 2048 tables = 3556 total data
BenchmarkLookup    50000         60159 ns/op

R=r
CC=golang-dev
http://codereview.appspot.com/6296045
Sign in to reply to this message.

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