¥È¥Ã¥× «Á°¤ÎÆüµ­(2006-04-25) ºÇ¿· ¼¡¤ÎÆüµ­(2006-04-28)» ÊÔ½¸

¤Ï¤¸¤á¤Æ¤Î¤Ë¤­

¤³¤³¤Î°ÌÃÖÉÕ¤±

2004|11|
2005|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|04|05|06|07|08|09|10|11|

ToDo:


2006-04-26

_ ruby25ru - Array

http://mput.dip.jp/mput/?date=20060207#c04

¤Îµ­½Ò¤ò¸«¤Æ¡£ ÇÛÎó¤Î¥±¥Ä»ý¤Ã¤Æ¤¯¤ë¤Î¤Ë¤Ê¤ó¤Ç O(1)¤¬¤Ç¤­¤ë¤ó¤À¤í¤¦¤È»×¤Ã¤Æ¡£ ¤Æ¤¤¤¦¤« Array ¤ÏÇÛÎó¤À¤È»×¤Ã¤Æ¤¿¤±¤ÉËÜÅö¤ËÇÛÎó¤Ê¤Î¤«¤È»×¤Ã¤Æ¡£

¤È¤ê¤¢¤¨¤º rb_ary_fetch ¤ò¸«¤¿¡£

return RARRAY(ary)->ptr[idx];

¤¦¤àÇÛÎó¡£

°ì±þ¼Â¸³¡£

i@u ~/test/ruby> ruby -e 'a=[1,2,3]; b=a[1..-1]; p a; p b; b[0]=4; p a; p b'
[1, 2, 3]
[2, 3]
[1, 2, 3]
[4, 3]

¤¦¤à¡£

¤È¤Ê¤ë¤È slice ¤¬ CoW ¤À¤È¤«¤«¤Ê¡Ä¤È»×¤Ã¤Æ rb_ary_subseq ¤È rb_ary_modify ¸«¤¿¤é CoW ¤Ý¤«¤Ã¤¿¡£ ¤¨¤é¤¤¡£¤Ç¤â¤½¤é¤½¤¦¤«¡£

(17:46)

_ Walter¥¿¥ó

¤Ï GC ¤ò¤¤¤¸¤Ã¤Æ¤¤¤ë¤é¤·¤¤¡£

(18:23)

_ ´ª°ã¤¤¤¯¤µ¤¤

(18:26)

_ º£ÅÙÊÙ¶¯¤¹¤ë¥¹¥¿¥Ã¥¯

¥½¡¼¥È·²

(19:04)

_ t2nani

http://www.namikilab.tuat.ac.jp/~sasada/prog/t2nani.html

¤³¤ó¤Ê¤ó¤¢¤Ã¤¿¤ó¤«¡£

(22:00)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´3·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]
_ shinh (2006-04-26 22:33)

AHA!

_ shinh (2006-04-26 22:34)

http://www.google.com/
IHI-

_ shinh (2006-04-26 22:42)

UHUHU

¤ªÌ¾Á°:
E-mail:
¥³¥á¥ó¥È:
¿ÍÀ¸¡¢±§Ãè¡¢¤¹¤Ù¤Æ¤ÎÅú¤¨
ËÜÆü¤Î¥ê¥ó¥¯¸µ

Á° 2006ǯ
4·î
¼¡
Æü ·î ²Ð ¿å ÌÚ ¶â ÅÚ
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
1.shinh(2006-04-26 22:42) 2.shinh(2006-04-26 22:34) 3.shinh(2006-04-26 22:33)
search / home / index

Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ­¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£

shinichiro.hamaji _at_ gmail.com / shinichiro.h