<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/zope-interface.git, branch fix-46</title>
<subtitle>github.com: zopefoundation/zope.interface.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/'/>
<entry>
<title>Merge branch 'master' into fix-46</title>
<updated>2016-08-30T12:21:57+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2016-08-30T12:21:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=e01cfad5ffd814f16c0f34f3130d07dc71b327ec'/>
<id>e01cfad5ffd814f16c0f34f3130d07dc71b327ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #49 from zopefoundation/icemac-patch-1</title>
<updated>2016-08-30T06:00:47+00:00</updated>
<author>
<name>Marius Gedminas</name>
<email>marius@gedmin.as</email>
</author>
<published>2016-08-30T06:00:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=8138c73db26b17ca1967daa2908845b2d2f21cb8'/>
<id>8138c73db26b17ca1967daa2908845b2d2f21cb8</id>
<content type='text'>
Use the canonical URL.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the canonical URL.</pre>
</div>
</content>
</entry>
<entry>
<title>Use the canonical URL.</title>
<updated>2016-08-30T05:49:08+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2016-08-30T05:49:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=47239579f405b1e408de32437d491417f3b69ab7'/>
<id>47239579f405b1e408de32437d491417f3b69ab7</id>
<content type='text'>
docs.zope.org has now a redirect.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
docs.zope.org has now a redirect.</pre>
</div>
</content>
</entry>
<entry>
<title>Better naming, and incorporate feedback from @prsephton</title>
<updated>2016-08-22T16:45:21+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2016-08-22T16:45:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=99c35d11e2284d7d8bfb749f9bd8876484992307'/>
<id>99c35d11e2284d7d8bfb749f9bd8876484992307</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use dictionary lookups for testing subscribed status.</title>
<updated>2016-08-19T13:18:39+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2016-08-19T13:18:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=58ef4872922803fac3429d88fb3c58ae509b17c5'/>
<id>58ef4872922803fac3429d88fb3c58ae509b17c5</id>
<content type='text'>
Fixes #46.

Benchmarks show a dramatic improvement; not quite as good as the
demonstration in #46 because the implementation had to be a bit more
complex to properly handle unregistration, but still very good. Here it
is with 20,000 items already registered:
```
   %time add_to_reg(reg, 1000)
   CPU times: user 190 ms, sys: 19.3 ms, total: 209 ms
   Wall time: 203 ms
```

Here's a profile with about 100,000 utilities registered:
```
 %prun add_to_reg(reg, 1000)
         80005 function calls (79005 primitive calls) in 0.713 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     1000    0.596    0.001    0.621    0.001 adapter.py:202(subscribe)
    12000    0.016    0.000    0.019    0.000 interface.py:518(__hash__)
     1000    0.010    0.000    0.709    0.001 registry.py:206(registerUtility)
3000/2000    0.009    0.000    0.014    0.000 interface.py:255(interfaces)
     2000    0.008    0.000    0.022    0.000 adapter.py:637(changed)
     1000    0.008    0.000    0.025    0.000 registry.py:498(_getUtilityProvided)
     9000    0.008    0.000    0.017    0.000 {method 'get' of 'dict' objects}
     1000    0.008    0.000    0.027    0.000 adapter.py:102(register)
     2000    0.006    0.000    0.008    0.000 adapter.py:450(changed)
     1000    0.005    0.000    0.663    0.001 registry.py:145(registerUtility)
```

I was very careful not to change the pickle at all.

zope.interface and zope.component tests have been run and both pass. (It
was necessary to account for the underlying objects changing because of
the way zope.component cleans up after tests.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #46.

Benchmarks show a dramatic improvement; not quite as good as the
demonstration in #46 because the implementation had to be a bit more
complex to properly handle unregistration, but still very good. Here it
is with 20,000 items already registered:
```
   %time add_to_reg(reg, 1000)
   CPU times: user 190 ms, sys: 19.3 ms, total: 209 ms
   Wall time: 203 ms
```

Here's a profile with about 100,000 utilities registered:
```
 %prun add_to_reg(reg, 1000)
         80005 function calls (79005 primitive calls) in 0.713 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     1000    0.596    0.001    0.621    0.001 adapter.py:202(subscribe)
    12000    0.016    0.000    0.019    0.000 interface.py:518(__hash__)
     1000    0.010    0.000    0.709    0.001 registry.py:206(registerUtility)
3000/2000    0.009    0.000    0.014    0.000 interface.py:255(interfaces)
     2000    0.008    0.000    0.022    0.000 adapter.py:637(changed)
     1000    0.008    0.000    0.025    0.000 registry.py:498(_getUtilityProvided)
     9000    0.008    0.000    0.017    0.000 {method 'get' of 'dict' objects}
     1000    0.008    0.000    0.027    0.000 adapter.py:102(register)
     2000    0.006    0.000    0.008    0.000 adapter.py:450(changed)
     1000    0.005    0.000    0.663    0.001 registry.py:145(registerUtility)
```

I was very careful not to change the pickle at all.

zope.interface and zope.component tests have been run and both pass. (It
was necessary to account for the underlying objects changing because of
the way zope.component cleans up after tests.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #45 from zopefoundation/setuptools-build</title>
<updated>2016-08-04T16:55:33+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jason+github@nextthought.com</email>
</author>
<published>2016-08-04T16:55:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=b0244a9140b5f3feb968326dfff5d99d303b61a3'/>
<id>b0244a9140b5f3feb968326dfff5d99d303b61a3</id>
<content type='text'>
Make setuptools a hard dependency of setup.py</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make setuptools a hard dependency of setup.py</pre>
</div>
</content>
</entry>
<entry>
<title>Make setuptools a hard dep of setup.py</title>
<updated>2016-08-04T11:54:31+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2016-08-04T11:54:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=2081db253cacaeb44174455d2d574fa614a4ba23'/>
<id>2081db253cacaeb44174455d2d574fa614a4ba23</id>
<content type='text'>
Fixes #13
Fixes #14
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #13
Fixes #14
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #44 from zopefoundation/comp-implements</title>
<updated>2016-08-04T11:45:14+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jason+github@nextthought.com</email>
</author>
<published>2016-08-04T11:45:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=b516fcad6c724c32f21ba055134985dbcd5ff18f'/>
<id>b516fcad6c724c32f21ba055134985dbcd5ff18f</id>
<content type='text'>
Make declarations.Implements sortable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make declarations.Implements sortable.</pre>
</div>
</content>
</entry>
<entry>
<title>Make declarations.Implements sortable.</title>
<updated>2016-08-03T15:34:31+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2016-08-03T15:32:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=bbf1a3d4792bf5b0a3969746521b27d2a2b4bf06'/>
<id>bbf1a3d4792bf5b0a3969746521b27d2a2b4bf06</id>
<content type='text'>
Fixes #42
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #42
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #43 from zopefoundation/literals</title>
<updated>2016-08-03T00:03:54+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jason+github@nextthought.com</email>
</author>
<published>2016-08-03T00:03:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=e79273048b92735fb23fcee7f695a5ed5d72f647'/>
<id>e79273048b92735fb23fcee7f695a5ed5d72f647</id>
<content type='text'>
Remove the _u compat function.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the _u compat function.</pre>
</div>
</content>
</entry>
</feed>
