[#5322] O(1) performance for insertions/deletions at the front of an Array/String — Eric Mahurin <eric_mahurin@...>

I just did some benchmarks on push, pop, shift, and unshift

24 messages 2005/07/01
[#5338] Re: O(1) performance for insertions/deletions at the front of an Array/String — Mathieu Bouchard <matju@...> 2005/07/02

On Fri, 1 Jul 2005, Eric Mahurin wrote:

[#5348] Re: O(1) performance for insertions/deletions at the front of an Array/String — Eric Mahurin <eric_mahurin@...> 2005/07/02

--- Mathieu Bouchard <matju@artengine.ca> wrote:

[#5357] Re: O(1) performance for insertions/deletions at the front of an Array/String — Mathieu Bouchard <matju@...> 2005/07/03

On Sat, 2 Jul 2005, Eric Mahurin wrote:

[#5359] Re: O(1) performance for insertions/deletions at the front of an Array/String — Eric Mahurin <eric_mahurin@...> 2005/07/03

--- Mathieu Bouchard <matju@artengine.ca> wrote:

[#5361] Re: O(1) performance for insertions/deletions at the front of an Array/String — Mathieu Bouchard <matju@...> 2005/07/03

On Sun, 3 Jul 2005, Eric Mahurin wrote:

[#5362] Re: O(1) performance for insertions/deletions at the front of an Array/String — Eric Mahurin <eric_mahurin@...> 2005/07/03

--- Mathieu Bouchard <matju@artengine.ca> wrote:

[#5365] Re: O(1) performance for insertions/deletions at the front of an Array/String — Yukihiro Matsumoto <matz@...> 2005/07/04

Hi,

[#5367] Re: O(1) performance for insertions/deletions at the front of an Array/String — Eric Mahurin <eric_mahurin@...> 2005/07/04

--- Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

[#5368] Re: O(1) performance for insertions/deletions at the front of an Array/String — Yukihiro Matsumoto <matz@...> 2005/07/04

Hi,

[#5372] Re: O(1) performance for insertions/deletions at the front of an Array/String — Florian Gro<florgro@...> 2005/07/04

Yukihiro Matsumoto wrote:

[#5420] Sydney Developer Preview 1 released — Evan Webb <evanwebb@...>

Sydney, an experimental ruby interpreter, has been released!

15 messages 2005/07/11
[#5424] Re: [ANN] Sydney Developer Preview 1 released — Evan Webb <evanwebb@...> 2005/07/12

Thanks everyone for the feedback so far!

Re: Problem with socket communications on Windows

From: nobuyoshi nakada <nobuyoshi.nakada@...>
Date: 2005-07-06 04:48:04 UTC
List: ruby-core #5392
Hi,

At Wed, 6 Jul 2005 11:33:17 +0900,
U.Nakamura wrote in [ruby-core:05390]:
> I've committed this patch to 1.9 tree, but not yet to 1.8 tree.

iSockOpt in StartSockets() is no longer used.


Index: win32/win32.c
===================================================================
RCS file: /cvs/ruby/src/ruby/win32/win32.c,v
retrieving revision 1.155
diff -U2 -p -u -r1.155 win32.c
--- win32/win32.c	6 Jul 2005 02:20:58 -0000	1.155
+++ win32/win32.c	6 Jul 2005 04:43:44 -0000
@@ -1983,6 +2299,5 @@ StartSockets(void)
     WORD version;
     WSADATA retdata;
-    int iSockOpt;
-    
+
     //
     // initalize the winsock interface and insure that it's
@@ -2263,5 +2578,4 @@ static SOCKET
 open_ifs_socket(int af, int type, int protocol)
 {
-    char *s;
     unsigned long proto_buffers_len = 0;
     int error_code;
@@ -2281,6 +2595,4 @@ open_ifs_socket(int af, int type, int pr
 		int i;
 		for (i = 0; i < protocols_available; i++) {
-		    WSAPROTOCOL_INFO proto_info;
-
 		    if ((af != AF_UNSPEC && af != proto_buffers[i].iAddressFamily) ||
 			(type != proto_buffers[i].iSocketType) ||


-- 
Nobu Nakada

In This Thread