[#6363] Re: rescue clause affecting IO loop behavior — ts <decoux@...>

>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:

17 messages 2000/11/14
[#6367] Re: rescue clause affecting IO loop behavior — David Alan Black <dblack@...> 2000/11/14

Hello again --

[#6582] best way to interleaf arrays? — David Alan Black <dblack@...>

Hello --

15 messages 2000/11/26

[#6646] RE: Array Intersect (&) question — Aleksi Niemel<aleksi.niemela@...>

Ross asked something about widely known and largely ignored language (on

23 messages 2000/11/29
[#6652] RE: Array Intersect (&) question — rpmohn@... (Ross Mohn) 2000/11/29

aleksi.niemela@cinnober.com (Aleksi Niemel) wrote in

[#6723] Re: Array Intersect (&) question — Mathieu Bouchard <matju@...> 2000/12/01

> >Use a hash. Here's code to do both and more. It assumes that

[#6656] printing/accessing arrays and hashes — raja@... (Raja S.)

I'm coming to Ruby with a Python & Common Lisp background.

24 messages 2000/11/30

[ruby-talk:6194] Re: xmalloc(), xfree()

From: matz@... (Yukihiro Matsumoto)
Date: 2000-11-09 16:08:19 UTC
List: ruby-talk #6194
Hi,

In message "[ruby-talk:6192] Re: xmalloc(), xfree()"
    on 00/11/09, Mathieu Bouchard <matju@cam.org> writes:

|No-one replied. I'm trying again with another question: what do you think
|is best:
|
|	* leave malloc/free as-is, make ruby use xmalloc/xfree;

Tell me the detail for this.

|	* make ruby use our own malloc/free;

Do you mean re-implementing malloc/free by ourselves?  I think it's
too tough job to achieve time/space efficiency like system's own.  I
don't think it's worth it.

|	* leave things as they are now (disallows proper accounting of
|	  malloc'ed memory, allocation optimization, etc)

The point is whether accounting/optimization is worth replacing
malloc/free.  Or couldn't it be possible without replacing them?

|	* magical solution

I always hope this one, always. ;-)

|I want to add one feature to the allocator:
|
|size_t xmsize (void *ptr);
|"returns the number of bytes allocated by the malloc
|operation that returned ptr. might be larger than the size
|originally asked for."

Is this REALLY worth it?  It might introduce potential crash by
free()'ing xmalloc()'ed memory.  I'm afraid to dream a nightmare.

As for memory performance, we are working on generational garbage
collector, which prototype is working.

							matz.

In This Thread