[#22195] IO::for_io and TCPServer#bind — GOTOU Yuuzou <gotoyuzo@...>

test_drb が IPv4 射影アドレスが有効な環境でないと動かないこ

16 messages 2003/12/09
[#22198] Re: IO::for_io and TCPServer#bind — matz@... (Yukihiro Matsumoto) 2003/12/09

まつもと ゆきひろです

[#22205] yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org>

StringIO の

24 messages 2003/12/10
[#22206] Re: yet another inconsistency about EOF between StringIO and IO — nobu.nakada@... 2003/12/10

なかだです。

[#22214] Re: yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org> 2003/12/10

In article <200312100725.hBA7P8Ac011112@sharui.nakada.kanuma.tochigi.jp>,

[#22222] Re: yet another inconsistency about EOF between StringIO and IO — nobu.nakada@... 2003/12/10

なかだです。

[#22234] Re: yet another inconsistency about EOF between StringIO and IO — Masahiro Sakai (酒井政裕) <sakai@...> 2003/12/11

さかいといいます。

[#22262] Re: yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org> 2003/12/13

In article <20031211.214041.71090239.sakai@tom.sfc.keio.ac.jp>,

[#22328] Re: yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org> 2003/12/23

In article <87k751dzyf.fsf@serein.a02.aist.go.jp>,

[#22331] Re: yet another inconsistency about EOF between StringIO and IO — matz@... (Yukihiro Matsumoto) 2003/12/23

まつもと ゆきひろです

[#22334] Re: yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org> 2003/12/23

In article <1072167374.096702.13473.nullmailer@picachu.netlab.jp>,

[#22343] Re: yet another inconsistency about EOF between StringIO and IO — matz@... (Yukihiro Matsumoto) 2003/12/23

まつもと ゆきひろです

[#22330] core dump with ungetc — Tanaka Akira <akr@...17n.org>

次のように ungetc を使うと core を吐く場合があります。

14 messages 2003/12/23
[#22332] Re: core dump with ungetc — nobu.nakada@... 2003/12/23

なかだです。

[#22366] `to_s': method `to_s' overridden (TypeError) — Tanaka Akira <akr@...17n.org>

そういえば、次の `to_s': method `to_s' overridden (TypeError) というの

12 messages 2003/12/24

[#22385] Tk.callback_break causes seg-fault or hang-up — Hidetoshi NAGAI <nagai@...>

永井@知能.九工大です.

19 messages 2003/12/24
[#22387] Re: Tk.callback_break causes seg-fault or hang-up — matz@... (Yukihiro Matsumoto) 2003/12/24

まつもと ゆきひろです

[#22393] Re: Tk.callback_break causes seg-fault or hang-up — Hidetoshi NAGAI <nagai@...> 2003/12/24

永井@知能.九工大です.

[#22395] Re: Tk.callback_break causes seg-fault or hang-up — matz@... (Yukihiro Matsumoto) 2003/12/24

まつもと ゆきひろです

[#22396] Re: Tk.callback_break causes seg-fault or hang-up — matz@... (Yukihiro Matsumoto) 2003/12/24

まつもと ゆきひろです

[#22397] Re: Tk.callback_break causes seg-fault or hang-up — Hidetoshi NAGAI <nagai@...> 2003/12/24

永井@知能.九工大です.

[#22418] ruby-1.8.1 build failed on HP-UX 11.11 — MIYAMUKO Katsuyuki <k-miyamuko@...>

みやむこです。

29 messages 2003/12/25
[#22419] Re: ruby-1.8.1 build failed on HP-UX 11.11 — matz@... (Yukihiro Matsumoto) 2003/12/25

まつもと ゆきひろです

[#22420] Re: ruby-1.8.1 build failed on HP-UX 11.11 — matz@... (Yukihiro Matsumoto) 2003/12/25

まつもと ゆきひろです

[#22424] Re: ruby-1.8.1 build failed on HP-UX 11.11 — MIYAMUKO Katsuyuki <k-miyamuko@...> 2003/12/25

みやむこです。

[#22491] Re: ruby-1.8.1 build failed on HP-UX 11.11 — MIYAMUKO Katsuyuki <k-miyamuko@...> 2004/01/05

みやむこです。

[ruby-dev:22289] mswin32 optimize

From: Tietew <tietew-ml-ruby-dev@...>
Date: 2003-12-15 06:58:14 UTC
List: ruby-dev #22289
Tietew です。

[ruby-dev:14592] の話の掘り起こしなのですが,-Og (グローバルな最
適化) を有効にして make test および unit test が通ったので報告し
ます。

ただ一カ所 stack_extend がインライン化されてしまう影響で 
rb_thread_restore_context が無限ループに入ってしまう問題がありま
したが __declspec(noinline) (インライン化抑止) で解決しました。
添付のパッチを参考にして下さい。

-Og を有効にすると明らかに速度アップするので是非。

*** ruby test/runner.rb の結果:
  -O2b2xg-
    Finished in 479.068 seconds.
  -O2b2 -GF
    Finished in 331.707 seconds.

P.S. こんな Failure が出たのですが [ruby-dev:22235] block to
method by proc の影響?
|   1) Failure:
| test_hashing(Test::Unit::Util::TC_ProcWrapper) [../ruby-1.8/test/testunit/util/test_procwrapper.rb:25]:
| The original and munged procs should not have the same hash.
| <49438256> expected to be != to
| <49438256>.


Index: eval.c
===================================================================
RCS file: /src/ruby/eval.c,v
retrieving revision 1.602
diff -p -u -2 -r1.602 eval.c
--- eval.c      11 Dec 2003 21:06:14 -0000      1.602
+++ eval.c      15 Dec 2003 05:45:38 -0000
@@ -8447,5 +8447,9 @@ rb_thread_switch(n)

 NORETURN(static void rb_thread_restore_context _((rb_thread_t,int)));
+NORETURN(static void stack_extend _((rb_thread_t,int)));

+#ifdef _MSC_VER
+__declspec(noinline)   /* prevent from global optimization */
+#endif
 static void
 stack_extend(th, exit)
Index: win32/Makefile.sub
===================================================================
RCS file: /src/ruby/win32/Makefile.sub,v
retrieving revision 1.57
diff -p -u -2 -r1.57 Makefile.sub
--- win32/Makefile.sub  1 Dec 2003 00:30:37 -0000       1.57
+++ win32/Makefile.sub  15 Dec 2003 05:45:39 -0000
@@ -65,8 +65,10 @@ DEBUGFLAGS = -Zi
 !endif
 !if !defined(OPTFLAGS)
-OPTFLAGS = -O2b2xg-
+OPTFLAGS = -O2b2 -GF
 !endif
+!if !defined(OS) || !defined(RT)
 OS = mswin32
 RT = msvcrt
+!endif

 !ifndef RUBY_SO_NAME
@@ -109,5 +111,5 @@ LD = $(CC)
 LDSHARED = $(LD) -LD
 XCFLAGS = -DRUBY_EXPORT
-LDFLAGS = -link -incremental:no -pdb:none
+LDFLAGS = -link -incremental:no -debug -opt:ref -opt:icf -map
 DLDFLAGS = $(LDFLAGS) -dll
 XLDFLAGS = -stack:$(STACK)


—[ Tietew ]——————————————————————————
 メ : tietew@tietew.net / tietew@raug.net / tietew@masuclub.net
ホペ: http://www.tietew.net/     Tietew Windows Lab.
      http://www.masuclub.net/   鱒倶楽部
指紋: 26CB 71BB B595 09C4 0153  81C4 773C 963A D51B 8CAA


In This Thread

Prev Next