<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/go-git.git/src/runtime/sizeclasses.go, branch dev.inline</title>
<subtitle>github.com: golang/go
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/go-git.git/'/>
<entry>
<title>runtime: compute size classes statically</title>
<updated>2016-10-30T03:48:49+00:00</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2016-10-27T04:25:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/go-git.git/commit/?id=7ba36f4adb43355ef4b870d64d23f9988b1279ea'/>
<id>7ba36f4adb43355ef4b870d64d23f9988b1279ea</id>
<content type='text'>
No point in computing this info on startup.
Compute it at build time.
This lets us spend more time computing &amp; checking the size classes.

Improve the div magic for rounding to the start of an object.
We can now use 32-bit multiplies &amp; shifts, which should help
32-bit platforms.

The static data is &lt;1KB.

The actual size classes are not changed by this CL.

Change-Id: I6450cec7d1b2b4ad31fd3f945f504ed2ec6570e7
Reviewed-on: https://go-review.googlesource.com/32219
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No point in computing this info on startup.
Compute it at build time.
This lets us spend more time computing &amp; checking the size classes.

Improve the div magic for rounding to the start of an object.
We can now use 32-bit multiplies &amp; shifts, which should help
32-bit platforms.

The static data is &lt;1KB.

The actual size classes are not changed by this CL.

Change-Id: I6450cec7d1b2b4ad31fd3f945f504ed2ec6570e7
Reviewed-on: https://go-review.googlesource.com/32219
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
