[#25976] tnono dumps core — nobu@...
なかだです。
16 messages
2005/04/02
[#25977] Re: tnono dumps core
— Masaki Suketa <masaki.suketa@...>
2005/04/03
助田です。
[#25978] Re: tnono dumps core
— nobu@...
2005/04/03
なかだです。
[#25979] Re: tnono dumps core
— Hidetoshi NAGAI <nagai@...>
2005/04/03
永井@知能.九工大です.
[#25980] Re: tnono dumps core
— nobu@...
2005/04/03
なかだです。
[#25982] Re: tnono dumps core
— Hidetoshi NAGAI <nagai@...>
2005/04/04
永井@知能.九工大です.
[#25981] tktable doesn't have selection_present — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
山本です。
9 messages
2005/04/03
[#25986] Re: tktable doesn't have selection_present
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/04
山本です。
[#25988] Re: tktable doesn't have selection_present
— Hidetoshi NAGAI <nagai@...>
2005/04/04
永井@知能.九工大です.
[#25989] Re: tktable doesn't have selection_present
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/04
山本です。
[#25998] ruby 1.8.3 preview予定 — Yukihiro Matsumoto <matz@...>
まつもと ゆきひろです
45 messages
2005/04/07
[#25999] irb マージ[Re: ruby 1.8.3 preview予定]
— keiju@... (石塚圭樹)
2005/04/07
けいじゅ@いしつかです.
[#26011] bcc32、win32 での install-doc の動作
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/10
山本です。
[#26012] Re: bcc32、win32 での install-doc の動作
— nobu@...
2005/04/10
なかだです。
[#26013] Re: bcc32、win32 での install-doc の動作
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/11
山本です。
[#26014] Re: bcc32、win32 での install-doc の動作
— "U.Nakamura" <usa@...>
2005/04/11
こんにちは、なかむら(う)です。
[#26034] Re: bcc32、win32 での install-doc の動作
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/12
山本です。
[#26035] Re: bcc32、win32 での install-doc の動作
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/12
山本です。
[#26036] Re: bcc32、win32 での install-doc の動作
— "U.Nakamura" <usa@...>
2005/04/12
こんにちは、なかむら(う)です。
[#26040] Re: bcc32、win32 での install-doc の動作
— nobu@...
2005/04/13
なかだです。
[#26041] Re: bcc32、win32 での install-doc の動作
— "U.Nakamura" <usa@...>
2005/04/13
こんにちは、なかむら(う)です。
[#26042] Re: bcc32、win32 での install-doc の動作
— nobu@...
2005/04/13
なかだです。
[#26043] Re: bcc32、win32 での install-doc の動作
— "U.Nakamura" <usa@...>
2005/04/13
こんにちは、なかむら(う)です。
[#26045] Re: bcc32、win32 での install-doc の動作
— nobu@...
2005/04/13
なかだです。
[#26049] Re: bcc32、win32 での install-doc の動作
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/14
山本です。
[#26051] Re: bcc32、win32 での install-doc の動作
— nobu@...
2005/04/14
なかだです。
[#26059] Re: bcc32、win32 での install-doc の動作
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/14
山本です。
[#26060] Re: bcc32、win32 での install-doc の動作
— nobu@...
2005/04/15
なかだです。
[#26067] Re: bcc32、win32 での install-doc の動作
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2005/04/15
山本です。
[#26047] "Florian Frank": Small 1.9 fixes — keiju@... (Keiju ISHITSUKA)
けいじゅ@いしつかです.
10 messages
2005/04/13
[#26048] Re: "Florian Frank": Small 1.9 fixes
— Yukihiro Matsumoto <matz@...>
2005/04/13
[#26050] Re: "Florian Frank": Small 1.9 fixes
— keiju@... (石塚圭樹)
2005/04/14
けいじゅ@いしつかです.
[#26079] absolute path in $LOADED_FEATURES — nobu@...
なかだです。
6 messages
2005/04/18
[#26096] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIGbindings — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
山本です。
4 messages
2005/04/23
[#26100] FileUtils.rm_rf security problem — Tanaka Akira <akr@...17n.org>
ふと、CVE で perl 関係のを見ていたら、File::Path の rmtree に関するも
21 messages
2005/04/26
[#26101] Re: FileUtils.rm_rf security problem
— Yukihiro Matsumoto <matz@...>
2005/04/26
まつもと ゆきひろです
[#26102] Re: FileUtils.rm_rf security problem
— Tanaka Akira <akr@...17n.org>
2005/04/26
[#26103] Re: FileUtils.rm_rf security problem
— Yukihiro Matsumoto <matz@...>
2005/04/26
まつもと ゆきひろです
[#26190] Re: FileUtils.rm_rf security problem
— Minero Aoki <aamine@...>
2005/05/20
青木です。
[#26191] Re: FileUtils.rm_rf security problem
— Tanaka Akira <akr@...17n.org>
2005/05/20
In article <20050520171837N.aamine@loveruby.net>,
[#26192] Re: FileUtils.rm_rf security problem
— Minero Aoki <aamine@...>
2005/05/20
青木です。
[#26197] Re: FileUtils.rm_rf security problem
— Minero Aoki <aamine@...>
2005/05/21
青木です。
[#26234] Re: FileUtils.rm_rf security problem
— Tanaka Akira <akr@...17n.org>
2005/05/26
In article <20050526081855Q.aamine@loveruby.net>,
[#26237] Re: FileUtils.rm_rf security problem
— Minero Aoki <aamine@...>
2005/05/26
青木です。
[#26238] Re: FileUtils.rm_rf security problem
— Tanaka Akira <akr@...17n.org>
2005/05/26
In article <20050526203322Z.aamine@loveruby.net>,
[#26105] close(2) without flushing buffer for redirection in child process — Tomoaki NISHIYAMA <tomoakin@...>
ruby-devの皆様
3 messages
2005/04/27
[#26113] race condition in fixnum..fixnum ? — Tanaka Akira <akr@...17n.org>
例によってとあるソフトウェアで core を吐いたので調べたところ、
5 messages
2005/04/30
[ruby-dev:25985] Re: some trouble on ext/tk/sample
From:
"H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Date:
2005-04-04 02:06:53 UTC
List:
ruby-dev #25985
山本です。
>仕方ないので,一度 backgroundimage オプションを参照して,
>エラーが出たらこれを使わないように変更しました.
configure を引数なしで呼ぶと、利用可能なオプションを返すという説明があったので
これが使えるかもしれません。
irb(main):006:0> Tk.tk_call(Tk::TreeCtrl.new, "configure")
=> "{-background background Background white white} {-backgroundmode backgroundM
ode BackgroundMode row row} {-bd -borderwidth} {-bg -background} {-borderwidth b
orderWidth BorderWidth 2 2} {-buttoncolor buttonColor ButtonColor #808080 #80808
0} {-buttonsize buttonSize ButtonSize 9 9} {-buttonthickness buttonThickness But
tonThickness 1 1} {-closedbuttonbitmap closedButtonBitmap ClosedButtonBitmap {}
{}} {-closedbuttonimage closedButtonImage ClosedButtonImage {} {}} {-columnproxy
columnProxy ColumnProxy {} {}} {-cursor cursor Cursor {} {}} {-defaultstyle def
aultStyle DefaultStyle {} {}} {-doublebuffer doubleBuffer DoubleBuffer item item
} {-fg -foreground} {-font font Font {{MS Sans Serif} 8} {{MS Sans Serif} 8}} {-
foreground foreground Foreground SystemButtonText SystemButtonText} {-height hei
ght Height 200 200} {-highlightbackground highlightBackground HighlightBackgroun
d SystemButtonFace SystemButtonFace} {-highlightcolor highlightColor HighlightCo
lor SystemWindowFrame SystemWindowFrame} {-highlightthickness highlightThickness
////////////////////////////////////////////////////////////////////////////////
ところで、Random のデモがあまりにも重いので
http://sourceforge.net/projects/tktreectrl で落とした tcl/tk 版を試したところ、
何と数十倍の速度差がありました。
// tcl/tk
created 500-1 items in 26798 clicks
configured 500 items in 46687 clicks
set list in 0.086 seconds (86253 clicks)
// ruby-tk
created 499 items in 1167199 clicks
configured 500 items in 1901509 clicks
set list in 3.1 seconds (3099865 clicks)
ボトルネックを調べるために、前田さんのプロファイラ(http://svn.shugo.net/src/ruby-prof/trunk/)
を走らせてみたので結果を添付します。何となく invoke 系と encode 系がボトルネックのように
見えたので、TclTkIp#_fromUTF8 と TclTkIp#_toUTF8 で全部 ASCII 文字だったらそのまま文字を返すような
ハックをしたところ、1秒ほど速くなりました。
%% cumulative self self total
time seconds seconds calls ms/call ms/call name
29.61 4.145 4.145 1 4145.00 9033.00 TclTkLib.mainloop
8.01 5.266 1.121 66 16.98 36.11 Kernel.require
6.80 6.218 0.952 7143 0.13 0.13 TclTkIp#__invoke
5.30 6.960 0.742 734 1.01 1.01 TclTkIp#_invoke_without_en
c
4.65 7.611 0.651 1 651.00 651.00 TclTkIp#_create_console
4.44 8.232 0.621 33349 0.02 0.02 TclTkIp#_toUTF8
4.08 8.803 0.571 1 571.00 571.00 TclTkIp#initialize
3.72 9.324 0.521 7179 0.07 0.08 TclTkIp#_fromUTF8
2.21 9.634 0.310 1 310.00 741.00 TkTreeCtrl_demo#make_sourc
e_window
2.15 9.935 0.301 7213 0.04 0.13 Array#collect
2.00 10.215 0.280 5166 0.05 0.51 TkObject#tk_send
1.64 10.445 0.230 1 230.00 240.00 TkText#__destroy_hook__
1.58 10.666 0.221 283 0.78 10.93 Array#each
1.43 10.866 0.200 7834 0.03 0.49 TkCore._tk_call_core
1.14 11.026 0.160 7834 0.02 0.44 TkCore._ip_invoke_core
0.93 11.156 0.130 7141 0.02 0.44 TkCore.tk_call
0.86 11.276 0.120 7145 0.02 0.34 TclTkIp#_invoke
0.86 11.396 0.120 1 120.00 180.00 TkMenuSpec._create_menu_fo
r_menubar
0.79 11.507 0.111 2 55.50 1707.00 Range#each
0.79 11.617 0.110 1 110.00 4497.00 TkTreeCtrl_demo#demo_set
0.71 11.717 0.100 197 0.51 0.56 TkComm.num_or_str