This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[regex] Remove empty_set


Several places use a dummy node_set instead of avoiding loops entirely.
This has a mild (1%) effect on performance and makes the code less clear
IMO, hence this patch.  It also prepares for the following patch.

I took the occasion to clean up sift_states_backward, moving the inner loop
out of the function into a new build_sifted_states.

Paolo

Attachment: 03-regex-remove-empty-set.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]