[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tip 1: use addFirst rather than addLast. What else? (with extra pra
From: |
Fernando Diaz |
Subject: |
Re: Tip 1: use addFirst rather than addLast. What else? (with extra praise for Marcus's fast heat bugs) |
Date: |
Fri, 24 Mar 2000 10:57:08 -0500 (EST) |
> This reminded me of a comment that Marcus Daniels made at SwarmFest. He
> did not state this so bluntly, but I am willing to:
>
> tip #1. One should always add to a Swarm List with addFirst.
>
> (Assuming there is no substantive reason for trying to keep the objects
> sorted by order of arrival). I have made this change in some programs
> that require building of long lists and the performance is a few percent
> better.
How hard would it be to include the time complexity of collection methods
in the documentation?
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.