[#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: [ANN] Sydney DR2 released

From: Luc Heinrich <lucsky@...>
Date: 2005-07-13 06:24:03 UTC
List: ruby-core #5444
On 13 juil. 05, at 04:36, Evan Webb wrote:

> DR2 addresses initial issues found in DR1 which blocked in compiling
> properly on many platforms.

Using the the dr2 tarball or the svn trunk both give me the same error:

% uname -v
Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005;  
root:xnu-792.2.4.obj~3/RELEASE_PPC

% ./configure --enable-pthread
...
...
...

% make

...
...
...
gcc -Wall -Wno-strict-aliasing -g -O2 -pipe -fno-common   -I. -I.  -c  
hash.c
hash.c: In function 'ruby_setenv':
hash.c:1831: error: parse error before '(' token
hash.c:1838: error: 'j' undeclared (first use in this function)
hash.c:1838: error: (Each undeclared identifier is reported only once
hash.c:1838: error: for each function it appears in.)
hash.c: At top level:
hash.c:1843: error: parse error before 'if'
hash.c:1858: error: 'i' undeclared here (not in a function)
hash.c:1858: warning: type defaults to 'int' in declaration of  
'_NSGetEnviron'
hash.c:1858: warning: data definition has no type or storage class
hash.c:1859: error: parse error before '}' token
hash.c:1864: warning: type defaults to 'int' in declaration of  
'_NSGetEnviron'
hash.c:1864: error: 'name' undeclared here (not in a function)
hash.c:1864: error: 'value' undeclared here (not in a function)
hash.c:1864: warning: data definition has no type or storage class
hash.c:1866: error: parse error before '(' token
hash.c: In function 'Init_Hash':
hash.c:2483: error: parse error before '(' token
make: *** [hash.o] Error 1

-- 
Luc Heinrich - lucsky@mac.com - http://www.honk-honk.com


In This Thread

Prev Next