<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: what should i use as list?</title>
		<atom:link href="http://cycling74.com/forums/topic/what-should-i-use-as-list/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 13:50:56 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-66866</guid>
					<title><![CDATA[what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-66866</link>
					<pubDate>Mon, 04 Mar 2013 22:17:41 +0000</pubDate>
					<dc:creator>karl krach</dc:creator>

					<description>
						<![CDATA[
						<p>hi,<br />
sorry, this is a complete noob question but i just did not dive into list processing yet and if someone could show me the way here, it would save me a LOT of time:<br />
i need to generate a very simple database i can store in ram and process rapidly and with minmum cpu-load. it should contain the following data:<br />
index (0-250.000), boolean (0/1), boolean (0/1), boolean (0/1), boolean (0/1) &#8211; basically i am looking for a table with 250.000 rows and five columns, the first the row number, the rest just booleans.<br />
ideally, there would be an additional option to save the database to disk and load it back in but that&#8217;s a nice-to-have, performance is more important.<br />
what would be the most efficient way to do this? table? cellblock? coll? bag? jit.matrix? any other?</p>
<p>my first idea was to use a 500&#215;500 matrix 4 char for this but i guess i would generate a lot of data here i do not need since jit.matrix only supports char but no bool&#8230;</p>
<p>many thanks for help!<br />
k</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240685</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240685</link>
					<pubDate>Mon, 04 Mar 2013 23:26:04 +0000</pubDate>
					<dc:creator>Chris Muir</dc:creator>

					<description>
						<![CDATA[
						<p>Do you really mean two hundred fifty thousand entries? That&#8217;s a lot of data.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240686</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240686</link>
					<pubDate>Tue, 05 Mar 2013 03:10:06 +0000</pubDate>
					<dc:creator>mattyo</dc:creator>

					<description>
						<![CDATA[
						<p>Depends on how much inernal processing you want to do, and how much you&#8217;re just looking stuff up and getting/setting&#8230;</p>
<p>I&#8217;ve had success in the (distant) past using Nick Rothwell&#8217;s net.loadbang-SQL package.  Or you might want to have a look at FTM &#8212; it handles big matrices pretty well (although it doesn&#8217;t have a boolean type either).  Don&#8217;t bother with coll, way too slow.  You also might want to have a look at dict, but i&#8217;m not sure if it will server your purposes&#8230;.</p>
<p>hth,</p>
<p>M</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240687</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240687</link>
					<pubDate>Tue, 05 Mar 2013 06:22:02 +0000</pubDate>
					<dc:creator>seejayjames</dc:creator>

					<description>
						<![CDATA[
						<p>interesting&#8230;if you don&#8217;t need to store the actual index, you could just use [jit.matrix 1 char 4 250000] and reference the lines directly. You only need 1 plane of char if you set the X dimension to 4. If you need the index numbers, not sure&#8230;</p>
<p>I wouldn&#8217;t worry about wasting memory with char versus bool, that&#8217;s no big deal when you consider that jit.matrix regularly works with 1024 x 768 matrices (or multiple ones) at high FPS, with 4 planes of data, without issue.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240688</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240688</link>
					<pubDate>Tue, 05 Mar 2013 12:14:45 +0000</pubDate>
					<dc:creator>karl krach</dc:creator>

					<description>
						<![CDATA[
						<p>hey,<br />
thank you all for your brains! i think i will try it with the matrix approach seejayjames suggested &#8211; sounds clever and as well since i have most experience with matrixes. plus it allows me to save and read the database&#8230;<br />
i will post the outcome!<br />
k</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240689</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240689</link>
					<pubDate>Sat, 09 Mar 2013 12:12:23 +0000</pubDate>
					<dc:creator>karl krach</dc:creator>

					<description>
						<![CDATA[
						<p>since i promised to post the outcome: i did what seejayjames suggested &#8211; using a jit.matrix, reading it out with jit.spill. and it does perform quite well, fast processing, little cpu load and it even allows me to save my database to disk.<br />
the only difference is, i ended up not using one, but four separate matrixes for each variable since i did not find a good way to read out only one column of a matrix (except splitting it up first). it would probably work though if i would make my matrix the other way around, that is a row for each variable and the index on the x-axis (which is not an option in my case but&#8230;)<br />
again: thanks to all of you!<br />
k</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240690</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240690</link>
					<pubDate>Sat, 09 Mar 2013 14:19:02 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>Alternately, you can save the four booleans as four bits inside a single char. Bit-logic operators will tell you which bits are set and can clear or set individual bits. A little fiddly, but not at all hard once you&#8217;ve got it under your belt.</p>
<p>Extra points if you can extend this suggestion to reduce the memory footprint to 125kB. </p>
<p>If there is interest I (or several other people here) can elaborate.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240691</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240691</link>
					<pubDate>Sat, 09 Mar 2013 15:11:24 +0000</pubDate>
					<dc:creator>Jeremy Bernstein</dc:creator>

					<description>
						<![CDATA[
						<p>Peter&#8217;s idea is a good one for saving memory, if that&#8217;s a concern.</p>
<p>Here&#8217;s a possible idea for easing your matrix usage. I think you only need to maintain a single matrix for your data.</p>
<div><span id="toggle240691-0" class="patchtoggle" onmousedown="toggleMaxPatch('post240691-0', 'er240691-0');">&#8211; Pasted Max <span id="maxversion240691-0"></span> Patch, click to <span id="er240691-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A1137.3oc2XEsbahCE8Y6uBML6iTOHABLc1Y1reGc5jAajMJEj7HD0NsS%2B2qz%0AU3D2XSLl3P7tODbjPHcz4duGcu5mSm3sPtiU6g9L5KnIS94zISftrcLos8Du%0AprcKKypgg4sTVUwDZOe26zrcZne9JzixFz1LgFoknkRglKZX1%2BeqT8MzVtt.%0AoKXl2T1TI7QJlYLq3qaTrbTVMJCoja8gIYYl.kKMilW6al.49EqjKLeTi.VQ%0ARamqLqTM%2BGLaeXxrf1t2joWVvEqu2rNZ2FjjDadMhRRs%2BPRir%2BDFNK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IYzvSXefCczLWI8.Nwi%0AFZ5C4DMZnoWQV2TnIb7ByC5AblOdvoGn4bZfU77MRSYTs5v3P3PBZjKSj.xL%0AB8nl3HWwbvMMAMdFDWsM27dr4RtoTLHiFZn2TnAStoLU.bvmANi2YM39DkhG%0Ap0xkHU1lMemopamS.JlLMePprMgR4Lw4BWSHIOOE6678iGVCuLkI8QsI2wFk%0AKStcyi8lZWmeM82.5pxKr%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post240691-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode240691-0">----------begin_max5_patcher----------
1137.3oc2XEsbahCE8Y6uBML6iTOHABLc1Y1reGc5jAajMJEj7HD0NsS+2qz
U3D2XSLl3P7tODbjPHcz4duGcu5mSm3sPtiU6g9L5KnIS94zISftrcLos8Du
prcKKypgg4sTVUwDZOe26zrcZne9JzixFz1LgFoknkRglKZX1+eqT8MzVtt.
oKXl2T1TI7QJlYLq3qaTrbTVMJCoja8gIYYl.kKMilW6al.49EqjKLeTi.VQ
RamqLqTM+GLaeXxrf1t2joWVvEqu2rNZ2FjjDadMhRRs+PRir+DFNK.801OR
zTIazkLMrW2OU7bXGJW7vmHDuCVVQVErrd+qhmU9zaTqW.e9yXQwpMbVllKE
GfmPZBfGLdF0GFt8wgfgK1iErsueMcp8g+azTsRpPOv0yp2vKKcLtTT9HRvL
VBKoi1jozWIROJw9ZTTPncShoACfzwCgzeyzWEqtNaM6H5CmDfth+ck34PCO
aH3nHftIQo1Vg3N4YbauttzOtg4lGOum9fCLA34m2DzgWNI1E0kfacveEubx
.LSB1VCBOxJ8jCt2.nRPfHBCfMJDHzfNYRRmLoeWrY5fYyPryL6Dut9ZF+2x
omPmaYiXBErQTvTc8b5SNuY5Fz8skTnowuWtuzKjWtlGd82eBssfurnMOBad
B6y63etbth5jKcGDSvjyvUm3vIbzGxgSc31TJyxWjIVO.uF2AzofJcbvYHhN
CjfE+jNMAifSiMpYIqrbQob42NEGj9DEXR17O1Il1EL95BfNvwuBQANIwwfN
bRbDbNaRmLUTWLUIuVCgX9uLTy3YukmqKrCLL4XprGdblovEbGLB5T47pprM
n6rOvnfgqXECx3XRzPkrLn49pLshuqSwqvQvM7U3p8n6RoHLABOoXWICz2QF
B+wwPZzBD+xImnTHlDG3N+GhLGB43TNM0xZyG4TLCYLnllpEL0fIg1ZJC5oC
hoROy1PyT2yDYKJYGdJ2Q7ikW7eMMd7soFOI3RE4wNkHGMZjkrZ7lRpFQQ9z
9KxiGAMdmlgQdeYQlBEYnzAmhAlBIlhwouihXI+ewSLgBjFwk1ANIz4KFNl9
hw82WL5Z4K1UgnxUqpYZzeMnDMnAzCtEJ2ESfmekJWj9AWsXyh1fz6LIjYhT
IAn6ZYqf2PVYgIycwo32wv0w3f0t7nX61nVYpzFIjppuD7UezapBp1zWsIrc
M8tl+F7tf4CtqkWbU+vtv1+eRa0xF0x8no07fddajyp0bAbyTGLF6kZcvfJ3
44LwgoSjyqsYX.aofSZ+5KbdwR0AdLLlIJXTvCsO3IYzvSXefCczLWI8.Nwi
FZ5C4DMZnoWQV2TnIb7ByC5AblOdvoGn4bZfU77MRSYTs5v3P3PBZjKSj.xL
B8nl3HWwbvMMAMdFDWsM27dr4RtoTLHiFZn2TnAStoLU.bvmANi2YM39DkhG
p0xkHU1lMemopamS.JlLMePprMgR4Lw4BWSHIOOE6678iGVCuLkI8QsI2wFk
KStcyi8lZWmeM82.5pxKr
-----------end_max5_patcher-----------</code></pre></div>
</div>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240692</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240692</link>
					<pubDate>Sat, 09 Mar 2013 18:03:30 +0000</pubDate>
					<dc:creator>Wetterberg</dc:creator>

					<description>
						<![CDATA[
						<p>It could also be encoded into around five seconds of 5-bit audio, I suppose, using poke~ and index~.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240693</guid>
					<title><![CDATA[Re: what should i use as list?]]></title>
					<link>http://cycling74.com/forums/topic/what-should-i-use-as-list/#post-240693</link>
					<pubDate>Sat, 09 Mar 2013 19:36:54 +0000</pubDate>
					<dc:creator>karl krach</dc:creator>

					<description>
						<![CDATA[
						<p>cool, thanks!<br />
i&#8217;m currently fiddling around with some other stuff but i will get back to that&#8230;!<br />
k</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

