[L2Ork-dev] list cat
Jonathan Wilkes
jon.w.wilkes at gmail.com
Sun May 12 22:54:57 EDT 2019
On Sun, May 12, 2019 at 10:39 PM Ivica Ico Bukvic <ico at vt.edu> wrote:
>
>
> On 5/10/2019 5:16 PM, Jonathan Wilkes wrote:
> > On Fri, May 10, 2019 at 1:38 PM Ivica Bukvic <ico at vt.edu> wrote:
> >> My understanding is if something has only one argument, at least in pd-l2ork, it should be reformatted as a single argument rather than a list. Otherwise handling outputted arguments becomes inconsistent and problematic. Also, remember when you start adding arguments into an empty list cat, the first argument added will be just an argument until another one is added at which point it becomes a list.
> > I'm not sure I understand. Do you have an example?
>
> Thinking here off top my head. Have list cat and add into it a single
> arg (e.g. "blah"). It should output "blah" on bang or whatever triggers
> output, as opposed to "list blah".
Ok, got it.
It appears that [list store] performs significantly better than [list
cat]. So what I might
do is just make a wrapper abstraction to implement "list cat" around
"list store." That will
clean up the code a bit and probably still perform as well as the
current C code.
I've now got some tests for list cat so it shouldn't be too difficult.
-Jonathan
More information about the L2Ork-dev
mailing list