From: James Coglan Date: 2009-06-10T18:28:39+09:00 Subject: [ruby-core:23784] Observable on Set? --001636c598643c7e65046bfb195e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Quick question, is there a reason why Observable uses an Array for storage instead of a Set? Wouldn't a Set be faster, especially for removing observers? Are there other places in the standard library where use of data structures could be improved? -- James Coglan http://jcoglan.com --001636c598643c7e65046bfb195e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Quick question, is there a reason why Observable uses an Array for storage = instead of a Set? Wouldn't a Set be faster, especially for removing obs= ervers? Are there other places in the standard library where use of data st= ructures could be improved?

--
James Coglan
http://jcoglan.co= m
--001636c598643c7e65046bfb195e--