Conversation
|
For C++14-and-a-bit support, |
|
While we're in the business of speeding things up and breaking internal backwards compatibility, it would probably be a good idea to switch the datatype of |
And they are never removed out-of-order, leaving holes? |
There isn't any mechanism for removing states. Any operation that decreases the number of states is actually creating a copy and then swapping. |
5bcdbfa to
3edf7c0
Compare
This PR adds a new binary format for transducers which is compatible with memory mapping and adds to
lt-procthe ability to load it via mmap.It also makes the Python bindings link to the
.sorather than recompiling the repo.TODO before merging:
trans_exe.h/ccsuperseded bytransducer_exe.h/ccnode.h/ccandmatch_node.h/ccreplaced by flat arraysmatch_state.h/ccand renamematch_state2.h/ccmatch_exe.h/ccfunctionality is now part oftransducer_exe.h/ccserialiser.handdeserialiser.hand related functionsapertium-taggerand will be contained in a single file in apertium going forwardcompression.h/ccwrite functions and mark read functions as deprecatedpattern_list.h/ccto apertiumlt-proc -e nno-nob.automorf.binis currently segfaulting