Rework labeled argument assignment
Change the code to assign labeled arguments from
bool args_ok = XSBind_allot_params(aTHX_ (0), 1, items,
ALLOT_SIZE_T(_first, "first", ...),
ALLOT_OBJ(_second, "second", ...),
NULL);
if (!args_ok) {
CFISH_RETHROW(...);
Repository: lucy-clownfish
Updated Branches:
refs/heads/master 1150ddb72 -> 93d02b036
Rework detection of invalid parameters
Don't use a bit vector but scan the stack again for every parameter.
This optimizes the common case (no invalid parameters).
Project:
Merge branch 'labeled_params_v2'
Resolves #47.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/93d02b03
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/93d02b03
Diff:
Remove unused method
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/69dd42d3
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/69dd42d3
Diff:
Wrap expensive SvTRUE macro in a function
The SvTRUE macro expands to a huge expression. Replacing it with a
function call in the XS wrappers reduces the code size of the Lucy
binary by about 30 KB on 32-bit.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit:
Repository: lucy
Updated Branches:
refs/heads/master dc3a17e88 -> 0d4f3465b
Adjust for changes to labeled param handling
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/0d4f3465
Tree:
Repository: lucy-clownfish
Updated Branches:
refs/heads/master 93d02b036 -> b51cc4684
Optimize XSBind_cfish_obj_to_sv_noinc
Also rename XSBind_cfish_obj_to_sv to XSBind_cfish_obj_to_sv_inc.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: