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

Issue 4695061: big: added recursive subdivision to nat.string to incre...

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by mtj
Modified:
14 years, 3 months ago
Reviewers:
gri1, mtj1, gri
CC:
golang-dev
Visibility:
Public.

Description

big: added recursive subdivision to nat.string to increase performance 4x to 35x for medium and long length numbers. extended tests in nat_test to stress the new code and added benchmarks for performance analysis and setting the subdivision threshold. (This CL replaces #4634075 since its file info has become lost. The code here reflects changes from reviewer gri's helpful comments.)

Patch Set 1 #

Patch Set 2 : diff -r 7f39a0541e03 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -187 lines) Patch
M src/pkg/big/nat.go View 1 5 chunks +192 lines, -37 lines 0 comments Download
M src/pkg/big/nat_test.go View 1 3 chunks +119 lines, -150 lines 0 comments Download

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