changeset 73:47bfecf6ae6b

create table
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Mon, 18 Feb 2019 17:15:36 +0900
parents b1444ad4140e
children e6e2f606c68d
files paper/chapter5.tex paper/main.pdf paper/main.tex
diffstat 3 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/paper/chapter5.tex	Mon Feb 18 16:47:29 2019 +0900
+++ b/paper/chapter5.tex	Mon Feb 18 17:15:36 2019 +0900
@@ -40,6 +40,32 @@
 
 \lstinputlisting[frame=lrbt, label=incre_nqp, caption=インクリメントを繰り返すNQPのサンプルコード]{./codes/incre.nqp}
 
+複数回計測を行った結果を表に示す。
+
+\begin{table}[tbp]
+    \caption{フィボナッチ数列を求める例題}
+\label{table:cbc}
+\centering
+\begin{tabular}{|r|r|} \hline
+MoarVM & CbCMoarVM \\ \hline
+1.379sec & 1.636sec  \\
+1.350sec & 1.8043sec \\
+1.346sec & 1.787sec  \\ \hline
+\end{tabular}
+\end{table}
+
+\begin{table}[tbp]
+    \caption{単純ループを計算する例題}
+\label{table:cbc_loop}
+\centering
+\begin{tabular}{|r|r|} \hline
+MoarVM & CbCMoarVM \\ \hline
+7.499sec & 6.135sec  \\
+7.844sec & 6.362sec  \\
+6.746sec & 6.074sec  \\ \hline
+\end{tabular}
+\end{table}
+
 CbCMoarVMでは現在モジュール化は行っているが、 具体的な速度上昇に対する実装は行っていない。
 
 
@@ -65,3 +91,5 @@
 これに伴って、 CodeGearでの不要なスタック操作命令を完全に排除できていない為、 CbCの利点が損なわれている箇所が存在する。
 
 CbCからC言語レベルの処理に戻る際は環境付き継続を行う必要があるケースが有り、 この実装を行うためにコードの量や複雑さが高まってしまうとも考えられる。
+
+CbCMoarVMそのものも、 MoarVMの実装に手を加えている為、 MoarVMのアップデートに追従する必要がある。
Binary file paper/main.pdf has changed
--- a/paper/main.tex	Mon Feb 18 16:47:29 2019 +0900
+++ b/paper/main.tex	Mon Feb 18 17:15:36 2019 +0900
@@ -65,7 +65,7 @@
 
 \tableofcontents	% 目次
 \listoffigures		% 図目次
-%\listoftables		% 表目次
+\listoftables		% 表目次
 \lstlistoflistings
 
 %以下のように、章ごとに個別の tex ファイルを作成して、