git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Avoid using dc in git-count-objects

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Oct 28, 2005, 05:22 UTC
Message-ID
<4361B580.9090100@zytor.com>
In-Reply-To
<20051028045837.GA1167@gondor.apana.org.au>
Herbert Xu wrote:
Show 26 quoted lines
> On Thu, Oct 27, 2005 at 09:34:30PM -0700, H. Peter Anvin wrote:
> 
>>>Perhaps you could use dash for your project as well?
>>
>>Depends on how big it is.
> 
> 
> I just noticed that you were building it with -Os.  So I built
> dash with -Os and this is what I get:
> 
> $ size dash
>    text    data     bss     dec     hex filename
>   64397     884   10240   75521   12701 dash
> $ size klibc-1.1.1/ash/sh.shared
>    text    data     bss     dec     hex filename
>   66237     424   70908  137569   21961 klibc-1.1.1/ash/sh.shared
> 
> So it looks like as long as dash can link with klibc then:
> 
> 1) It should be smaller in size.
> 2) It should be more stable due to much wider testing coverage (Debian).
> 3) You get some extra bells & whistles thrown in for free like printf.
> 
> I'll let you know when I have a version that links with klibc.
> 
> Cheers,
Cool, thanks!
	-hpa
Previous: Herbert XuNext: Johannes Schindelin
Message 14 of 18 in “Avoid using dc in git-count-objects”
  1. Avoid using dc in git-count-objectsJohannes Schindelin, Oct 25, 2005
  2. Junio C HamanoOct 26, 2005
  3. Johannes SchindelinOct 26, 2005
  4. Petr BaudisOct 26, 2005
  5. Matthias UrlichsOct 27, 2005
  6. Johannes SchindelinOct 27, 2005
  7. Linus TorvaldsOct 27, 2005
  8. Junio C HamanoOct 27, 2005
  9. Herbert XuOct 28, 2005
  10. H. Peter AnvinOct 28, 2005
  11. Herbert XuOct 28, 2005
  12. H. Peter AnvinOct 28, 2005
  13. Herbert XuOct 28, 2005
  14. H. Peter AnvinOct 28, 2005
  15. Johannes SchindelinOct 26, 2005
  16. Andreas EricssonOct 26, 2005
  17. Johannes SchindelinOct 26, 2005
  18. Andreas EricssonOct 26, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.