A lot of the low level stuff is outsourced to biochemistry: the physical properties of proteins, and the various self-regulating biochemical systems of an animal, can "encode" a lot of intelligence, easing up on the computational demands of the brain proper.
Hmm... is there something that can estimate how many bits of information in portia, each neuron+synapse combination might be encoding?