We have got patents for specific technologies in the past, they cost a lot and the value was not really visable.
We often develop specific algorithms for real-time systems and work with a range of clients who have their own specific IP they want to cover, they ask me for advice (as a non-lawyer).
After previous experiences I tend to feel that its better to develop fast and stay ahead rather than publish the solution ... but I would like to hear what others think.