Hey Miller,

Just going thru the code you checked in. I noticed this in ::pd_connect::pd_readsocket, I am guessing this is the re-add any "\n" that are missing. I am curious, did you profile it at all? I was hesitant to do that because I thought it might have a big performance hit.

Here's the snippet in question:

    while {![info complete $cmd_from_pd] || \
        [string index $cmd_from_pd end] != "\n"} {
        append cmd_from_pd [read $pd_socket]
        if {[eof $pd_socket]} {
        close $pd_socket
        exit
        }
    }


.hc


----------------------------------------------------------------------------

"[T]he greatest purveyor of violence in the world today [is] my own government." - Martin Luther King, Jr.




_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev

Reply via email to