Skip to content

Commit

Permalink
refactor: optimize small n# of groups matching (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrinberg authored Oct 15, 2024
1 parent c244b64 commit 7b05eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module Positions = struct
then
{ positions =
(let n = Automata.Working_area.index_count re.tbl + 1 in
if n <= 10 then [| 0; 0; 0; 0; 0; 0; 0; 0; 0; 0 |] else Array.make n 0)
Array.make n 0)
}
else empty
;;
Expand Down

0 comments on commit 7b05eba

Please sign in to comment.