On 7/17/14, Andy Goth <andrew.m.g...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 7/17/2014 3:22 PM, Stephan Beal wrote:
>> in terms of memory use, it seems to be on par with lua, and lua is
>> the lightest-memory interpreter i've yet run through valgrind. Most
>> of them individually leak more memory than lua and s2 allocate
>> combined.
>
> Sorry to drag this away from Fossil and TH1 and S2, but I suggest
> running Tcl in Valgrind sometime.  It's very, very good about memory
> usage.

+1

I'd be _very_ interested if some contrary conclusion was reached (as
would the Tcl core team).

> Aside from interim development versions, the only "leak" I've found is
> a performance optimization in which it doesn't bother free()ing
> everything on exit, much the same way Fossil doesn't clean up because
> it knows the operating system will do it faster and better.  There's a
> compile-time option set via preprocessor to make it go back to the old
> behavior of tidying up all allocations at the end.
>
> This is very important to me because I frequently use Tcl for testing
> other code written in C and Fortran and such, and I need Valgrind to
> spot my errors without being mired in the test harness.
>
> http://wiki.tcl.tk/3840
>
> - --
> Andy Goth | <andrew.m.goth/at/gmail/dot/com>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJTyDQYAAoJELtYwrrr47Y4iBkH/j3cBBloLwFAxigrX8xhTydy
> I1c++agxS/veY0kdWoXqbnRYTluHXGlLy4JetWEOk3PmkgNa3EBZRsVtuUSRiqdl
> gpD1R0kP+7izLDlZuPKXWBjQNtdeAslSTcyuIFQVWTfHa1gFKT12GQ5oKuwo98yi
> Zl2uxhq6vgZK4cX3zg/S2SH2QA4avdMFJRxmBUXeBil6wqpr/oYKznD4kxtmTsEy
> zSysbC6Jz0l6dIbh+whAgNxhhf6QroItCwqCHtfeWBHkx05KCzUddXKizX72ggrz
> 0aIu1loCz+Kb5v7JHnG8n8lzySTtKIBb0idUW5t1WCTmgJHyPrdLDvgmYrzOgBY=
> =XwRk
> -----END PGP SIGNATURE-----
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to