Peter Ludemann
Peter Ludemann
This works for me with `SWI-Prolog version 9.1.2 for x86_64-linux` and Debian GNU/Linux 11 (bullseye). Perhaps there need to be some additional environment variable settings to trigger this?
Test cases for these are in test_cpp.cpp (predicate `get_nchars_string/4`) and test_cpp.pl (tests `nchars`). (Requires https://github.com/SWI-Prolog/packages-cpp/pull/68) You can replicate this by the following (the test code outputs its interpretation of the...
As a general rule, I would think that following symlinks would be best -- in other words, treat symlinks the same as hard links. Some specific situations require distinguishing symlinks...
If the `ports(classic)` produces a wrong result, I see no reason to continue supporting it; just have the two values `ports(false)` and `ports(true)` - you might treat `ports(false)` as a...
I have no opinion on whether there should be 2 or 3 options. I do have an opinion about APIs; and I don't like an API that has no positive...
I think we're arguing over the colour of a bikeshed - as you say, the API to `profile/2` probably doesn't matter. Even if a "foolish consistency is the hobgoblin of...
I should have said that we're discussing the colour of a bikeshed. I have a pretty thick skin when it comes to technical discussions - my intent is to get...
I have some code that, amongst other things, processes a list with ~100,000 elements, so I could try running that under the profiler with both options. It'll take me a...
Do you want me to try the profiler with my moderately long lists? (It'll take me a little bit of work because it's part of a larger batch job, so...
Where in the source tree are the figures? I couldn't find them (there are only a few in `man/figs`, although "figure 5" seems to be now inline ( https://www.swi-prolog.org/pldoc/man?section=foreigninclude )