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

Re: Git and OpenDocument (OpenOffice.org) files

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Aug 27, 2007, 14:06 UTC
Message-ID
<vpqr6lpvzqc.fsf@bauges.imag.fr>
In-Reply-To
<866431rser.fsf@lola.quinscape.zz>
David Kastrup <dak@gnu.org> writes:
Show 9 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
>> On Mon, 27 Aug 2007, Mike Hommey wrote:
>>
>>> BTW, wouldn't it be more efficient to store the odf files unzipped ?
>>
>> Efficient how?  Speed-wise: no.  Space-wise: yes.
>
> Huh?  At least the "Space-wise: yes" seems rather nonsensical.

I don't know enough about git delta-compression and OpenDocument, but git has better chance to efficiently delta-compress different versions of the document if they're not compressed themselves.

(but that's a necessary and not sufficient condition. line-based delta-compression wouldn't work if the file is a one-line XML file for example).

> "Speed-wise" is not as clear: it depends on the relation between
> memory/disk bandwidth and decompression speed.

Probably network operations would be faster, and checkout would be slower. I wouldn't bet ;-).

-- 
Matthieu
Previous: David KastrupNext: Johannes Schindelin
Message 7 of 12 in “Git and OpenDocument (OpenOffice.org) files”
  1. Matthieu MoyAug 27, 2007
  2. Junio C HamanoAug 27, 2007
  3. Matthieu MoyAug 27, 2007
  4. Mike HommeyAug 27, 2007
  5. Johannes SchindelinAug 27, 2007
  6. David KastrupAug 27, 2007
  7. Matthieu MoyAug 27, 2007
  8. Johannes SchindelinAug 27, 2007
  9. Mike HommeyAug 27, 2007
  10. Sergio CallegariAug 27, 2007
  11. Johannes SchindelinAug 27, 2007
  12. David KastrupAug 27, 2007

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.