aboutsummaryrefslogtreecommitdiffstats
path: root/tests/NQuadsTests/literal_with_dquote.nq
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-12 20:54:05 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:59 +0100
commit7f1d50b40814db24573b9eb425566ce1d44d2e85 (patch)
tree56c87c5b0ed1b84027957888605e497d4521f0a0 /tests/NQuadsTests/literal_with_dquote.nq
parentaafc82f0bee3b222d395ef959aa4a6917f2ef0b2 (diff)
downloadserd-7f1d50b40814db24573b9eb425566ce1d44d2e85.tar.gz
serd-7f1d50b40814db24573b9eb425566ce1d44d2e85.tar.bz2
serd-7f1d50b40814db24573b9eb425566ce1d44d2e85.zip
Make serd_env_expand() always return a node if it is not relative
The old interface was potentially faster, because it avoided unnecessary copies, but was annoying to use and problematic because nodes that don't need expansion were indistinguishable from nodes that failed to expand (like those that use undefined namespace prefixes). In the grand scheme of things, the potential performance improvement isn't worth it, and unexpected unexpanded nodes causes deep nightmarish problems, so just make serd_env_expand() copy the input if it doesn't need expansion to make the API simpler and safer.
Diffstat (limited to 'tests/NQuadsTests/literal_with_dquote.nq')
0 files changed, 0 insertions, 0 deletions