home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!edcastle!dcs.ed.ac.uk!jxp
- From: jxp@dcs.ed.ac.uk (Joe Potter)
- Newsgroups: alt.sys.amiga.demos
- Subject: Re: Phenomena egos??
- Message-ID: <Bxt744.IA1@dcs.ed.ac.uk>
- Date: 16 Nov 92 12:38:27 GMT
- References: <1dg7r7INNjil@gap.caltech.edu> <1992Nov7.203516.9849@ringer.cs.utsa.edu> <MKNIP.92Nov12144453@wolverine.hut.fi> <1992Nov13.130146.14587@ifi.uio.no> <1968@lysator.liu.se> <1992Nov16.083508.24131@ugle.unit.no> <Bxt6Dv.HsJ@dcs.ed.ac.uk>
- Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
- Organization: Department of Computer Science, University of Edinburgh
- Lines: 10
-
- In article <Bxt6Dv.HsJ@dcs.ed.ac.uk>, jxp@dcs.ed.ac.uk (Joe Potter) writes:
- >
- > Obviously, this algorithm is disastrously slow, with all those insertions.
- > Ideally, you'd collect all the vsprite lines and sort first by Y and then by X position.
- ^^^^^
- Yikes! I don't mean two sorts! I mean (x1, y1) < (x2, y2)
- if (y1<y2) || ((y1==y2) && (x1<x2)
-
- sorry.
- Joe.
-