The size of the resulting program is limited by size_limit. If the program approximately exceeds the given size (in bytes), then compilation will stop and return an error.
(mut self, size_limit: usize)
| 66 | /// the program approximately exceeds the given size (in bytes), then |
| 67 | /// compilation will stop and return an error. |
| 68 | pub fn size_limit(mut self, size_limit: usize) -> Self { |
| 69 | self.size_limit = size_limit; |
| 70 | self |
| 71 | } |
| 72 | |
| 73 | /// If bytes is true, then the program is compiled as a byte based |
| 74 | /// automaton, which incorporates UTF-8 decoding into the machine. If it's |