• huddle : Is it possible to gain in performance ?

    From Nicolas Robert@21:1/5 to All on Wed Apr 27 11:00:52 2022
    Hello,

    I'm using 'huddle' for my package. I need advice from people who use it (or not).
    In my case, it’s this procedure 'huddle::jsondump' (https://github.com/tcltk/tcllib/blob/e527bde7c0aa16954111050d84547b33caba519a/modules/yaml/huddle.tcl#L482) that would require to be optimized.

    Do you think it is possible to modify this proc to gain performance, or it is not possible ?

    First in pure TCL and maybe in a second step by adding a function in C/C++?

    Thanks

    Nicolas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicolas Robert@21:1/5 to All on Wed Apr 27 11:38:35 2022
    Le mercredi 27 avril 2022 à 20:22:11 UTC+2, Christian Gollwitzer a écrit :
    Am 27.04.22 um 20:00 schrieb Nicolas Robert:
    Hello,

    I'm using 'huddle' for my package. I need advice from people who use it (or not).
    In my case, it’s this procedure 'huddle::jsondump' (https://github.com/tcltk/tcllib/blob/e527bde7c0aa16954111050d84547b33caba519a/modules/yaml/huddle.tcl#L482) that would require to be optimized.

    Do you think it is possible to modify this proc to gain performance, or it is not possible ?

    First in pure TCL and maybe in a second step by adding a function in C/C++?

    If you need better performance, try rl_json - it is an extension qwith
    good performance and a good model for storing typed data.

    Christian

    Ok I’ll look at this, but if you ever have a brilliant idea with 'huddle', I’m a buyer.

    Nicolas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Gollwitzer@21:1/5 to All on Wed Apr 27 20:22:07 2022
    Am 27.04.22 um 20:00 schrieb Nicolas Robert:
    Hello,

    I'm using 'huddle' for my package. I need advice from people who use it (or not).
    In my case, it’s this procedure 'huddle::jsondump' (https://github.com/tcltk/tcllib/blob/e527bde7c0aa16954111050d84547b33caba519a/modules/yaml/huddle.tcl#L482) that would require to be optimized.

    Do you think it is possible to modify this proc to gain performance, or it is not possible ?

    First in pure TCL and maybe in a second step by adding a function in C/C++?


    If you need better performance, try rl_json - it is an extension qwith
    good performance and a good model for storing typed data.

    Christian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)