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

Issue 6304077: code review 6304077: freetype: optimize []byte to uint16/uint32 conversions. (Closed)

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

Description

freetype: optimize []byte to uint16/uint32 conversions. Thanks to Jeff R. Allen <jra@nella.org> for the conversation that led to this change. benchmark old ns/op new ns/op delta BenchmarkDrawString 21168440 20143860 -4.84% The number of mallocs per iteration is unchanged.

Patch Set 1 #

Patch Set 2 : diff -r 3eb9f09ecbb1 https://code.google.com/p/freetype-go #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -125 lines) Patch
A freetype/freetype_test.go View 1 1 chunk +59 lines, -0 lines 0 comments Download
M freetype/truetype/glyph.go View 1 6 chunks +47 lines, -38 lines 0 comments Download
M freetype/truetype/truetype.go View 1 12 chunks +59 lines, -87 lines 0 comments Download
A freetype/truetype/truetype_test.go View 1 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 3
nigeltao
Hello rsc@golang.org (cc: golang-dev@googlegroups.com, jra@nella.org), I'd like you to review this change to https://code.google.com/p/freetype-go
12 years, 5 months ago (2012-06-14 04:33:20 UTC) #1
r
LGTM
12 years, 5 months ago (2012-06-15 17:01:36 UTC) #2
nigeltao
12 years, 5 months ago (2012-06-16 02:20:54 UTC) #3
*** Submitted as
http://code.google.com/p/freetype-go/source/detail?r=12c254407319 ***

freetype: optimize []byte to uint16/uint32 conversions.

Thanks to Jeff R. Allen <jra@nella.org> for the conversation that
led to this change.

benchmark              old ns/op    new ns/op    delta
BenchmarkDrawString     21168440     20143860   -4.84%

The number of mallocs per iteration is unchanged.

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

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