Code help Artnet two universe

mcnobby:
I am using UIPEthernet library, it works ok for me. I think there are 3 to choose from (I read somewhere)

With a better understanding of what is going on behind the scenes I might be able to squeeze it a little, but the learning curve would be steep !

Yes it would. I have not delved into the ENC28j60 datasheet much or any library code but wonder if either hitting the hardware direct or rolling a simplified library would help. The datasheet says 'configurable tx/rx buffer size' so you could maybe increase rx buffer size and reduce tx as your probably not transmitting large data packets.

Riva:
Yes it would. I have not delved into the ENC28j60 datasheet much or any library code but wonder if either hitting the hardware direct or rolling a simplified library would help. The datasheet says 'configurable tx/rx buffer size' so you could maybe increase rx buffer size and reduce tx as your probably not transmitting large data packets.

Exactly.. I did try and look for this, and try a few things but nothing improved..

I often take someones (well written) library and strip it down so it is more application/processor specific, always grateful that someone has done such great spadework, but sometimes I need things faster/more efficient on memory/both.. so I learn how it all comes together and rewrite it. Often creating lots of inline code rather than call after call after call (maybe calls only ever accessed once in a single instance). And then sometimes I just remove the whole class wrapper to get back to basics, maybe bringing just what I need from the library straight into the front end of my .ino file !!

When I was doing my video projects, every clock cycle counted, so I did alot of work finding out how to strip simple libraries out only keeping the bare essentials for the task... I wouldn't know where to start with the UIPEthernet library !! lol