2013-03-25 00:43
hsbt_away changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
00:16
nari_ has joined #ruby-core
00:29
nagachika has joined #ruby-core
00:54
nokada has quit [Remote host closed the connection]
00:58
nokada has joined #ruby-core
00:59
nari_ has quit [Ping timeout: 264 seconds]
01:18
soba has joined #ruby-core
01:33
nari_ has joined #ruby-core
01:34
nokada has quit [Remote host closed the connection]
01:35
nokada has joined #ruby-core
01:45
r0bgl33s0n has joined #ruby-core
01:45
r0bglees0n has quit [Ping timeout: 256 seconds]
01:52
Domon has joined #ruby-core
02:09
hsbt is now known as hsbt_away
02:12
hsbt_away is now known as hsbt
02:36
charliesome has joined #ruby-core
02:46
shinnya has quit [Ping timeout: 256 seconds]
03:08
<
_ko1 >
charliesome: this afternoon (JST), I'll check all of your patch
03:08
<
charliesome >
_ko1: thank you!
03:09
<
_ko1 >
sorry for my slow activity
03:11
<
zzak >
_ko1: so slow
03:44
* zzak
throws ko1 a life jacket
04:32
Domon has quit [Remote host closed the connection]
04:33
Domon has joined #ruby-core
04:37
Domon has quit [Ping timeout: 246 seconds]
04:56
hsbt is now known as hsbt_away
04:56
hsbt_away is now known as hsbt
05:04
Domon has joined #ruby-core
06:35
Domon has quit [Remote host closed the connection]
06:36
Domon has joined #ruby-core
06:36
Domon has quit [Read error: Connection reset by peer]
06:36
Domon has joined #ruby-core
06:48
<
_ko1 >
I read sp_ar.c
06:48
<
_ko1 >
I'm not sure why key is only 32bit
06:48
<
_ko1 >
charliesome: any ristriction?
06:58
<
_ko1 >
do you compare them?
07:06
<
_ko1 >
zzak: [ruby-changes:30721] zzak:r42800 (trunk): * error.c: [DOC] Update bug tracker url by @ScotterC [Fixes GH-390]
07:06
<
_ko1 >
cause test failures
07:07
<
_ko1 >
there are several tests depends on [BUG] message.
07:10
<
_ko1 >
sp_ar.c seems simple open addressing hash algorithm
07:20
<
charliesome >
_ko1: i'm not familiar with sp_ar internals
07:20
<
charliesome >
i have not benchmarked 64 bit/32 bit difference
07:21
Domon has quit [Remote host closed the connection]
07:21
<
charliesome >
the patch originally had 'typedef size_t sa_index_t;', but funny falcon recommended to change to uint32_t
07:21
<
_ko1 >
yes, i know.
07:21
Domon has joined #ruby-core
07:22
<
_ko1 >
i read it and i agree it is lightweight than st.c
07:22
Domon_ has joined #ruby-core
07:22
Domon has quit [Read error: Connection reset by peer]
07:23
<
_ko1 >
however, i'm not sure st.c is not enough for this usecase (maintaining subtree structure)
07:26
<
charliesome >
sp_ar.c was 8-9% faster than st.c for me
07:26
<
_ko1 >
in this usecase?
07:38
<
_ko1 >
charliesome: i reached vm_method.c
07:39
<
_ko1 >
global method table was removed?
07:39
<
charliesome >
_ko1: ye
07:39
<
charliesome >
replaced with method cache tables on each classext struct
07:40
<
charliesome >
so if you call 'puts' for example when self is an instance of a class 'Foo' for example
07:40
<
charliesome >
Kernel#puts is inserted into the method cache table on Foo's classext
07:40
DanKnox is now known as DanKnox_away
07:42
<
_ko1 >
classext->mc_tbl is
07:42
<
_ko1 >
key: method_id, value: method_cache_entry
07:47
eLobato has joined #ruby-core
08:02
<
_ko1 >
google calc bot: response error
08:02
<
_ko1 >
google calc bot: response error
08:02
<
_ko1 >
gc> power(2, 21)
08:02
<
_ko1 >
google calc bot: response error
08:02
<
_ko1 >
2^21 = 2097152
08:03
<
_ko1 >
about 2M symbols are allowed
08:03
<
_ko1 >
in 32bit ID limitation
08:06
<
_ko1 >
Symbol number is limited to maximum of ID size
08:06
<
_ko1 >
If we limited to ID as 32bit, then we can represent 2^21 symbols = 2M symbols
08:07
<
_ko1 >
2M symbols is too huge for most of Ruby application
08:07
<
_ko1 >
however, if we assume that each symbols consumes 64B, then it consumes about 120MB memory
08:08
<
_ko1 >
It is huge, but not so huge for recent server machines
08:09
<
_ko1 >
I want avoid 32bit riestriction, because of above reason.
08:16
<
_ko1 >
not realistic assumption?
08:22
<
_ko1 >
> if (LIKELY(GET_VM_STATE_VERSION() == ci->vmstat && RCLASS_EXT(klass)->seq == ci->seq && klass == ci->klass)) {
08:23
<
_ko1 >
any possibility?: "RCLASS_EXT(klass)->seq == ci->seq" and "klass != ci->klass)"
08:24
<
_ko1 >
Yes, there is.
08:24
<
_ko1 >
my misunderstood
08:56
corundum has quit [Remote host closed the connection]
08:57
corundum has joined #ruby-core
09:10
<
_ko1 >
I can't find mis-operation
09:10
<
_ko1 >
of cache invalidation
09:12
nokada has quit [Read error: Connection reset by peer]
09:12
nokada_ has joined #ruby-core
09:23
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:45
charliesome has joined #ruby-core
09:46
nari_ has quit [Ping timeout: 245 seconds]
10:15
nari_ has joined #ruby-core
10:35
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:40
nagachika has quit [Remote host closed the connection]
10:45
soba has quit [Ping timeout: 245 seconds]
11:08
corundum has quit [Remote host closed the connection]
11:08
corundum has joined #ruby-core
11:08
corundum has quit [Remote host closed the connection]
11:11
corundum has joined #ruby-core
11:19
Domon_ has quit [Remote host closed the connection]
11:19
Domon has joined #ruby-core
11:24
Domon has quit [Ping timeout: 260 seconds]
11:32
charliesome has joined #ruby-core
11:33
charliesome has quit [Client Quit]
11:49
nagachika has joined #ruby-core
12:00
charliesome has joined #ruby-core
12:01
charliesome has quit [Client Quit]
12:03
charliesome has joined #ruby-core
12:22
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:24
charliesome has joined #ruby-core
12:29
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:09
charliesome has joined #ruby-core
13:10
nagachika has quit [Remote host closed the connection]
13:10
nagachika has joined #ruby-core
13:57
headius has joined #ruby-core
14:04
enebo has joined #ruby-core
14:04
travis-ci has joined #ruby-core
14:04
travis-ci has left #ruby-core [#ruby-core]
14:04
shinnya has joined #ruby-core
14:13
marcandre has joined #ruby-core
14:19
ZachBeta has joined #ruby-core
14:37
ahegyi has joined #ruby-core
14:50
ahegyi has quit [Ping timeout: 248 seconds]
14:50
ZachBeta has quit [Quit: Computer has gone to sleep.]
14:54
ahegyi has joined #ruby-core
14:56
<
zzak >
i misunderstood the patch
14:56
corundum has quit [Remote host closed the connection]
14:56
<
zzak >
i will be more careful next time!
14:56
corundum has joined #ruby-core
15:04
ZachBeta has joined #ruby-core
15:31
nari_ has quit [Ping timeout: 260 seconds]
15:32
tylersmith has quit [Remote host closed the connection]
15:32
tylersmith has joined #ruby-core
15:37
tylersmith has quit [Ping timeout: 268 seconds]
15:46
eLobato has quit [Ping timeout: 264 seconds]
15:56
<
charliesome >
_ko1: wow, I just saw your messages
15:56
<
charliesome >
I'm very sorry
15:56
corundum has quit [Remote host closed the connection]
15:56
corundum has joined #ruby-core
15:57
corundum has quit [Remote host closed the connection]
16:01
headius has quit [Read error: Connection reset by peer]
16:01
corundum has joined #ruby-core
16:01
nagachika has quit [Remote host closed the connection]
16:01
headius has joined #ruby-core
16:49
DanKnox_away is now known as DanKnox
17:04
tylersmith has joined #ruby-core
17:31
headius has quit [Quit: headius]
17:36
ZachBeta has quit [Quit: Computer has gone to sleep.]
17:48
headius has joined #ruby-core
17:56
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:21
shinnya has quit [Ping timeout: 256 seconds]
18:24
ZachBeta has joined #ruby-core
18:33
DanKnox is now known as DanKnox_away
18:43
DanKnox_away is now known as DanKnox
19:14
DanKnox is now known as DanKnox_away
19:24
tylersmith has quit [Remote host closed the connection]
19:25
tylersmith has joined #ruby-core
20:21
DanKnox_away is now known as DanKnox
21:06
tenderlove has joined #ruby-core
21:23
ahegyi has quit [Ping timeout: 256 seconds]
21:55
ZachBeta has quit [Quit: Computer has gone to sleep.]
21:56
tenderlo_ has joined #ruby-core
21:59
tenderlove has quit [Ping timeout: 264 seconds]
22:00
marcandre has quit [Remote host closed the connection]
22:01
marcandre has joined #ruby-core
22:03
nari_ has joined #ruby-core
22:03
tenderlove has joined #ruby-core
22:05
marcandre has quit [Remote host closed the connection]
22:06
tenderlo_ has quit [Ping timeout: 245 seconds]
22:19
tylersmith has quit [Remote host closed the connection]
22:47
tenderlove has quit [Remote host closed the connection]
22:48
tenderlove has joined #ruby-core
22:51
corundum has quit [Remote host closed the connection]
22:56
corundum has joined #ruby-core
23:08
tenderlove has quit [Remote host closed the connection]
23:08
tenderlove has joined #ruby-core
23:10
enebo has quit [Quit: enebo]
23:55
nari_ has quit [Ping timeout: 256 seconds]