Well... One flag per number and the end flag. It's still much less. And they made new signalling books, changing the numbers, but mostly to improve on what important messages would have a short.
I can't remember what year they switched but I have at least one of those in electronic form somewhere.