home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.programming
- Path: sparky!uunet!mcsun!news.funet.fi!tut!pk
- From: pk@cs.tut.fi (Kellom{ki Pertti)
- Subject: Spreadsheet data structures
- Message-ID: <PK.92Jul30095458@talitiainen.cs.tut.fi>
- Sender: usenet@funet.fi (#Kotilo NEWS system )
- Nntp-Posting-Host: talitiainen.cs.tut.fi
- Organization: Tampere Univ. of Technology, Finland.
- Distribution: comp
- Date: Thu, 30 Jul 1992 07:54:58 GMT
- Lines: 27
-
- Does anyone know what kind of data structures are used for storing
- spreadsheet data? A naive table implementation would have at least two
- problems:
-
- * either the size of the table is fixed, or you have to do some
- extra work when the user gets outside of the table, and
-
- * insertion and deletion of rows and columns is costly, partly because of
- copying and partly because of adjusting the formulas.
-
- At least some spreadsheets do seem to work quite a bit when inserting
- or deleting.
-
- I've thought about a linked representation like the one used for
- sparse matrices. This would allow easy insertion and deletion, and if
- you store cell references in formulas as direct references (pointers),
- you do not pay extra cost for fetching values from them. The size of
- the spreadsheet would also not be fixed.
-
- Any ideas?
- --
- Pertti Kellom\"aki (TeX format) # These opinions are mine,
- Tampere Univ. of TeXnology # ALL MINE !
- Software Systems Lab # (but go ahead and use them, if you like)
-
-
- --
-