ideas for C optimization wanted
John Arbash Meinel
john at arbash-meinel.com
Thu Jul 3 05:26:28 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Hudson wrote:
| Martin Pool wrote:
|> Tim said to me he was interested in doing some C or Pyrex code to
|> speed up Bazaar, and asked for suggestions on where to begin.
|
| I had a very quick play at writing a super-fast starting C command line
| client that would talk to some server process to do the actual work as a
| way of mitigating the slow Python start up effect. But the results of
| half an hour of whacking at this didn't show anything amazing and it
| reminded me that socket programming in C is horrible so I'm not sure I'm
| going to go anywhere with this.
|
| Cheers,
| mwh
|
|
|
bzr branch lp:bzr-service
I prepared one in advance. :)
The C one isn't terribly fancy, but you can have the front end in python
if you want. The overhead is the 'import bzrlib and all other libs'.
It really does effect the 'snappiness' of the command line. I just
haven't really pursued it because getting it properly cross platform is
a bit of a pain. And even worse is having to request info from the user.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhsVPQACgkQJdeBCYSNAANqCwCgyRNT4h2U/jfbiCyRDwy7IpMp
XYcAnjFMrVkRN1jpLQ99yBwZEVuElhxP
=b/9r
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list